Files
wren/src
Josh Goebel e65ab48dc2 feat: replace FINALIZER macro with ALLOCATE and FINALIZE for parity in module bindings
Add ALLOCATE macro alongside existing FINALIZE macro to provide symmetric
handling of foreign method allocation and finalization in the module
registry. Update File class bindings to use the new ALLOCATE macro for
fileAllocate and FINALIZE for fileFinalize, replacing the previous
FINALIZER macro usage.
2021-04-28 21:44:36 +00:00
..

This contains the Wren source code. It is organized like so:

  • cli: the source code for the command line interface. This is a custom executable that embeds the VM in itself. Code here handles reading command-line, running the REPL, loading modules from disc, etc.

  • module: the source code for the built-in modules that come with the CLI. These modules are written in a mixture of C and Wren and generally use libuv to implement their underlying functionality.