An open API service indexing awesome lists of open source software.

https://github.com/lhitori/maeel

The maeel programming language
https://github.com/lhitori/maeel

concatenative concatenative-language functional functional-programming interpreter language lexer programming-language stack stack-based stack-oriented tokenizer

Last synced: about 4 hours ago
JSON representation

The maeel programming language

Awesome Lists containing this project

README

          

```

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

```

# 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](./stdlib/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)