Release: | 0.0.2 |
---|---|
Date: | October 19, 2013 |
mio is a minimalistic IO programming language written in the Python Programming Language based on MIo (a port from Ruby to Python) in the book How To Create Your Own Freaking Awesome Programming Language by Marc-Andre Cournoye.
Factorial:
Number set("!", method(
(self < 2) ifTrue(return self)
return (self * ((self - 1) !))
))
Hello World:
World = Object clone
World hello = method("Hello World!" println)
World hello
The simplest and recommended way to install mio is with pip. You may install the latest stable release from PyPI with pip:
> pip install mio
If you do not have pip, you may use easy_install:
> easy_install mio
Alternatively, you may download the source package from the PyPI Page or the Downloads page on the Project Website; extract it and install using:
> python setup.py install
You can also install the latest-development version by using pip or easy_install:
> pip install mio==dev
or:
> easy_install mio==dev
For further information see the mio documentation.