For those who find this interesting, be sure to check out MicroPython:
It’s super fun to use the built in interpreter over serial connection with say a Raspberry Pi Pico.
It’s super fun to use the built in interpreter over serial connection with say a Raspberry Pi Pico.
Another step down is snek, where complete interpreter code can fit in 64KB. Although, this is a much more constrained subset of python (for example - yes dictionaries, no list comprehensions): https://sneklang.org/
PikaScript appear to be even more compact at 32KB code (and is even smaller subset of the language)