Hacker News new | ask | show | jobs
by hn_submit 31 days ago
So now you need an interpreter (Python) to run an interpreter (BASIC)?
2 comments

Nothing wrong with implementing an interpreter in another interpreter, this is actually a classic CS rite of passage.

This TinyBASIC however, is using Python only during the build phase, the actual interpreter code is in C and what runs on the Arduino is a binary.

How would you do it?
Rust would be my first choice with C++ and assembler as other options.

I mean, crap like this means we need 1GB for a weather app and 4GB RAM for a simple text editor.