mio 0.1 Documentation

Release:0.1.9.dev
Date:April 18, 2014

About

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!

Latest PyPI version Number of PyPI downloads Build Status Requirements Status

Examples

Factorial:

Number fact = method(reduce(block(a, x, a * x), range(1, self)))

Hello World:

print("Hello World!")

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-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.

Indices and tables

Table Of Contents

Next topic

mio Tutorial

This Page