Files
wadamesh/lib/lua/library.json
T
Kaj SchittecatandClaude Opus 4.8 f2067848a7 lua: Phase 0 — vendor Lua 5.4.7 + PSRAM-capped sandbox spike (GO: +96KB flash, 7.5KB state)
Vendored 5.4.7 core+stdlib under lib/lua (mains excluded), LUA_32BITS
baked into luaconf.h so the VM and embedders share one ABI. LuaHost spike
behind WADA_LUA_SPIKE: PSRAM-only allocator with a hard 256KB cap,
io/os-free sandbox, instruction-budget hook. Measured on the T-Deck:
flash +96KB, state+libs 7.5KB/2ms, hostile while-true contained in 30ms,
zero leak. Inert (byte-identical build) when the flag is off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-04 12:00:49 +02:00

11 lines
344 B
JSON

{
"name": "lua",
"version": "5.4.7",
"description": "Vendored Lua 5.4.7 core + stdlib for wadamesh Lua apps (lua.c/luac.c mains excluded). LUA_32BITS: 32-bit integers + single floats fit the S3/P4 and halve value sizes.",
"license": "MIT",
"build": {
"flags": ["-Os", "-Wno-cast-function-type"],
"srcFilter": ["+<*.c>"]
}
}