This project is a little simulator of a basic machine code language from the book « Compilers: Principles, Techniques & Tools - 2nd edition» in the section 8.2.1.
The folder examples contains the programs that will be simulated. Just add any file with an «.asm» extension to test it.
This is the main script of the project. Just execute it without arguments to execute the simulation
This is the file used to parse your file and to build the syntax tree
Contains the heavy logic of the simulation
Hold the runtime data for the simulation
- Python 3.6
- Numpy (install with «pip install numpy»)
- Arpeggio (install with «pip install arpeggio»)