4 ms·
PLY is a wonderful toolkit. I used it to write a compiler for ice9 (some made up language used for teaching) that compiled down to JVM bytecode (using Jasmin) f
by mdwrigh2 15y ago
PLY is a wonderful toolkit. I used it to write a compiler for ice9 (some made up language used for teaching) that compiled down to JVM bytecode (using Jasmin) for my compilers class.
See the code here: https://github.com/mdwrigh2/pyice https://github.com/mdwrigh2/pyice
- fuzzix 15y agoDifferent class of thing altogether, but a BASIC compiler targeting the ZX Spectrum implemented with Python/PLY: http://www.boriel.com/software/the-zx-basic-compiler/?lang=en http://www.boriel.com/software/the-zx-basic-compiler/?lang=e...