phosphor-scripting
Generic sandboxed Luau host with CPU and heap guards.
A domain-agnostic Luau host that owns VM lifecycle, luaL_sandbox, a CPU-time watchdog, a per-engine heap cap, bytecode compile and load, and a QVariant-to-Lua marshalling layer. It knows nothing about tiling or any other domain, so each domain binding stays small. LuauEngine exposes an entirely QVariant-based surface and never lets lua_State cross the library boundary, while a shared LuauWatchdog bounds CPU time and a capped allocator (64 MiB default) turns a runaway script into a catchable error.
Key types
LuauEngineQVariant-only API (init / runPrelude / sandbox / callModule).LuauWatchdogDependencies
QtCore
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorScripting::. - API reference → Classes, namespaces and D-Bus interfaces across every library.