Files
wren/builtin
Bob Nystrom 701cffbe69 revert: remove safeToString_ and recursive toString handling due to memory leak on runtime errors
The safeToString_ mechanism introduced in 40897f33 used per-fiber maps and lists to detect recursive toString calls, but leaked memory when runtime errors occurred before cleanup. This reverts to direct toString implementations for List and Map, removing the recursive detection logic and updating tests to mark self-referencing containers as TODO.
2015-05-19 13:50:17 +00:00
..

The Wren scripts in this directory get converted to C string literals and then inserted 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 copying is script/generate_builtins.py.

You can invoke using make builtin.