Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mio-lang-0.0.1.tar.gz (101.5 kB view hashes)

Uploaded Source

Built Distribution

mio_lang-0.0.1-py2.7.egg (72.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page