Skip to content

Traumatism/maeel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


|\  /|                    /|
| \/ |                   ' |
| ;; |  ___   ___   ___  | |
| ;' | ,-- \ / ,_\ / ,_\ | |
| ; '| \___/ \___/ \___/ | |
| '                      | |
|'                        '|

maeel

a minimalistic stack based programming language.

The interpreter (including lexer) is made up of 500 lines of code (with default rustfmt options).

Compile

$ make test (c.f. tests.maeel)

$ make bench

$ make

Run program

$ ./maeel program.maeel

Implemented in maeel

  • Stack functions (drop, dup, rot, over, swap)
  • Booleans functions (and, or, not)
  • Conditions (ifelse, then) (s/o Turring)
  • Loops (while, for)
  • Lists definition (List ... end)