A tiny assembly-style language and interpreter.
Created only for fun and learning. Contributions are welcome!
- Easy set of registers
(let reg0 = ...) - Simple integer operations
(add, sub, mul, div, mod) - Comparison + conditional jumps
(cmp, je, jne, jl, jg, jle, jge) - Labels and print function
- Tests samples: tests/lang/
- To run the language, use:
./run.sh
- A modern C++ compiler (Clang or GCC) with C++17 or newer
- Standard POSIX shell environment (for run.sh)
- Supported: macOS, Linux
- Not yet supported: Windows
If you add Windows support, please open a PR.