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

https://github.com/icexin/tm


https://github.com/icexin/tm

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

This is a tiny machine emulator using a assembly like language.

* *loader.py* parse the source file and translate it into instructions.
To simplify the parsing, the parser uses the [PLY](http://www.dabeaz.com/ply/) library.
* *tm.py* contains the Machine class on which the instructions running.
* The *instruction* file contains the instructions set.