Assembly-Minimal: a toy language for experimenting with concepts from the middle-end (i.e., optimisations) in a compiler stack.
Sample code can be found in the code/
folder, which can be executed via the ami.py
interpreter:
python3 ami.py path/to/code.ami
To experiment with optimisation passes, use amo.py
:
python3 amo.py --add-pass="pass" src.ami -o output.ami