mio - A Toy Programming Language written in Python
Project description
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.
Examples
Factorial:
Number set("!", method( if (self < 2) then ( return self ) else ( return (self * ((self - 1) !)) ) ))
Hello World:
World = Object clone World hello = method("Hello World!" println) World hello
Features
Homoiconic
Message Passing
Higher Order Messages
Higher Order Functions
Full support for Traits
Object Orienated Language
Written in an easy to understand language
Supports Imperative, Functional, Object Oriented and Behavior Driven Development styles.
Installation
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.
Release Notes - mio 0.0.1
Initiali Public Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.