Expand description
The deserializer.
Parses the Lua subset that the serializer emits and rebuilds a Value.
Handles both forms: a bare expression from line and block, and the
do local _ = ...; ... return _ end block from dump, including the
self-reference section that wires shared and cyclic references.
Safety follows serpent’s sandbox. In safe mode any function call in the input is rejected with “cannot call functions”, and any global assignment or read resolves against a sandbox, so it cannot touch real globals. Unsafe mode is not modeled because this loader has no real global environment to expose.
Structs§
- Load
Options - Options for
load.
Enums§
Functions§
- load
- Deserialize a serpent fragment.