This got me wondering what other scripting languages folks use in embedded, low memory setups. I found this about Lua: [1]
[1] https://nicksypark.medium.com/the-feasibility-of-the-embedde...
[1] https://nicksypark.medium.com/the-feasibility-of-the-embedde...
Picbit ran in 256bytes, it's descendent is slightly larger https://github.com/stamourv/picobit
Staapl compiles scheme to Forth, to also run on the PIC18 https://www.concatenative.org/wiki/view/Staapl
Of course there is also Sectorlisp, the smallest language out there in 436bytes, 64k ram https://justine.lol/sectorlisp2/
"A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."