Lua Chip
A CPU running Lua: it runs Lua 5.5 code (excluding the more exotic features) and supports IO inputs and outputs of different types. To use: connect the inputs (optional), paste your code into the program port or in the variable gate above the chip. Set run to 1 or use the switch. Whatever the code prints shows up on log. See the progDebug output in case of issues. It contains 40k+ gates so the game locks up for a bit when copy-pasting it but it seems to work well after placing it. The first program run is a bit slower than the next because it needs to parse the program first. Every input change restarts the program to recompute the outputs automatically except for inStrArr and inNumArr, so they can be used to have a program that keeps running on updated data. Source code: https://github.com/Ldr2451/LuaCPUBrick
- Published
- September 27, 2026 at UTC
- Updated
- September 27, 2026 at UTC
- Version
- 1
- Share code
u5t-d27-98k