Earlier quoted context omitted.
Ok, but which language feature(s) of Lua is it which inherently requires so much memory? I understand you wouldn't exactly get a 100% standards compliant implementation, but what are the hard parts?
With Lua's design, each bytecode operation requires a bunch of memory accesses, these microcontrollers only have a limited amount (~500KB) of SRAM, so you need to place this memory on PSRAM (RAM over SPI) which has "significant" latency for these microcontrollers. It's definitely possible to use standard Lua and run _some_ of the Pico8 games, but not all. Lua itself does not require a lot of memory, but PICO-8 guaran…
1: https://en.wikipedia.org/wiki/Dynamic_random-access_memory#P...