4 ms·
This caught my eye, since I'm doing the Teeny Tiny Compiler tutorial [0] (transpiles a tiny BASIC-inspired language to C). So, I thought I'd take a look and se
by andai 4y ago
This caught my eye, since I'm doing the Teeny Tiny Compiler tutorial [0] (transpiles a tiny BASIC-inspired language to C).
So, I thought I'd take a look and see how a modern BASIC compiler does it!
Alas! This appears to be proprietary. (There is a GitHub but only for bug tracking.)
[0] https://austinhenley.com/blog/teenytinycompiler1.html https://austinhenley.com/blog/teenytinycompiler1.html
- stevekemp 4y agoThere are a bunch of BASIC interpreters out there, my own isn't so complex or thorough, but I definitely had fun writing it: https://github.com/skx/gobasic/ https://github.com/skx/gobasic/ My own vision was to reproduce something akin to the ZX Spectrum, rather than the more advanced Microsoft BASIC.