A Pascal like expression driven language
main.rs
- main functiontokenizer.rs
- Tokenization (lexical analysis) related sourcesparser.rs
- parser of the token stream provided by the tokenizertest.rs
- some testsstdlib.c
- "standard library" for mila (suplies IO functions and some more)samples
- directory with samples describing syntax and some custom onesmila
- wrapper script for your compiler
llvm 17
cargo
cargo build --release
./mila [INPUT_FILE] [OUTPUT_FILE]
- Base implementation
- Number literals in decimal, octal and hexadecimal base
- If and while loop with break
- For (to and downto) with break
- Nested blocks
- Functions, procedures local variables, exit
- Function parameters
- Recursion
- Indirect recursion