carlc27843 Programming and whatnot.
Posts with the tag lua:

Picoscript

Picoscript is a custom script system implemented in PICO-8 lua which allowed the PICO-8 port of Nebulus to use ROM data to store logic beyond the console’s limit of 8192 lua tokens. The fantasy console PICO-8 has some strict input cartridge limits: 15616 compressed lua code characters (65536 uncompressed chars) 17152 bytes ROM 8192 lua code tokens Its runtime limits are more generous: 64KB RAM and 2MB lua memory. This enables a cart to store data compressed, and uncompress it at runtime, for example during initialization. However lua tokens cannot be compressed, and PICO-8 does not expose any kind of lua load from strings.