Files
wren/builtin
Bob Nystrom 88a4e0a4e9 refactor: move meta and random modules from vm and cli into new aux library category
Restructure module hierarchy by extracting meta and random from the core VM and CLI-specific modules into a new "aux" (auxiliary) directory. This introduces WREN_AUX_META and WREN_AUX_RANDOM configuration flags, updates include paths and build system to compile aux sources separately, removes random module registration from CLI modules.c, and adjusts the VM's module loading to implicitly import core into all modules regardless of name.
2015-10-18 05:09:48 +00:00
..

The Wren scripts in this directory get converted to C string literals into files with a .wren.inc extension. Those are then #included into their respective .c files so that the interpreter can load them directly without having to do any file IO.

The script that does this translation is util/wren_to_c_string.py.

When any of the ".wren" files in here are changed, the Makefile automatically updates the generated C headers.