Skip to main content

Module stdlib

Module stdlib 

Source
Expand description

The parts of a scripting environment the experiments need.

Luau itself comes with the usual table, string, math and os libraries. What is missing for the work is the file and data plumbing: reading and writing files, JSON, CSV, and walking directories. Those are here, in Rust, so a script can do the whole round trip: read a fixture, filter it, write the result out.

Functionsยง

from_json
JSON as a Luau value.
register
Put the extra libraries into the state.
to_json
A Luau value as JSON.