Files
wren/src
underscorediscovery 10bdacc874 feat: bump version to 0.2.0 and update changelog with release notes
Update WREN_VERSION_MINOR from 1 to 2 and WREN_VERSION_STRING from "0.1.0" to "0.2.0" in wren.h header. Add comprehensive 0.2.0 changelog entry documenting new language features (relative imports, Fiber value passing, String/Sequence/List/Num methods, Map iteration), C API additions (wren.hpp, user data, wrenAbortFiber), and CLI improvements (path module, --version flag, REPL, Platform class, process→os rename).
2019-10-01 04:38:08 +00:00
..

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

  • optional: the Wren and C source code for the optional modules. These are built in to the VM and can be used even when you embed the VM in your own application. But they are also optional and can be compiled out by setting defines.

  • 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.

  • include: the public header directory for the VM. If you are embedding the VM in your own application, you will add this to your include path.

  • 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.

  • vm: the source code for the Wren VM itself. Unlike code in cli and module, this has no dependencies on libuv. If you are embedding the VM in your own application from source, you will compile the files here into your app.