Release: | 0.1.8 |
---|---|
Date: | December 24, 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.
This project is being developed for educational purposes only and should serve as a teaching tool for others wanting to learn how to implement your own programming language (albeit in the style of Smalltalk, Io, etc). Many thanks go to Marc-Andre Cournoye and his wonderful book which was a great refresher and overview of the overall processing and techniques involved in programming language design and implementation. Thanks also go to the guys in the #io channel on the FreeNode IRC Network specifically jer nad locks for their many valuable tips and help.
The overall goal for this project is to create a fully useable and working programming language implementation of a langauge quite similar to Io with heavy influence from Python (because Python is awesome!). This has already largely been achived in the current version. See the RoadMap for what might be coming up next.
Warning
mio is a new programming language in early Planning and Development. DO NOT USE IN PRODUCTION! USE AT YOUR OWN RISK!
Factorial:
Number fact = method(reduce(block(a, x, a * x), range(1, self)))
Hello World:
print("Hello World!")
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-lang
If you do not have pip, you may use easy_install:
> easy_install mio-lang
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-lang==dev
or:
> easy_install mio-lang==dev
For further information see the mio documentation.