/Mai

an educational programming language

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Mai Programming Language

🚧 work is still in progress 🚧

A dynamic, weakly-typed, toy, programming languages. Designed to be something between Go, Python and JavaScript.

How to run

So until there is a better building system (as if there's one) the easiest way to test the interpreter is by:

# Clone the repo
$ git clone https://github.com/nemoload/Mai

# Change working directory
$ cd Mai

# Compile it
$ javac com/akhal3d/mai/Mai.java

# Run the examples
$ java com.akhal3d.mai.Mai examples/helloworld.mai

See: examples

References

  • Crafting Interpreters by Bob Nystrom
  • Compilers: Principles, Techniques, and Tools