Replace the non-portable PATH_MAX constant with a new WREN_PATH_MAX define set to 4096 in os.h, and correct the void function processCwd to use bare return instead of return wrenAbortFiber(vm, 0) which was causing a broken build on platforms without PATH_MAX defined.
Wren CLI
The CLI project is a small and simple REPL and CLI tool for running Wren scripts.
It is backed by libuv to implement IO functionality, and is a work in progress.
For documentation and usage, see http://wren.io/cli
For more information about Wren, the language used by the CLI, see http://wren.io
Like with Wren itself, we welcome contributions.
To build the Wren CLI
Windows
The projects/vs20xx folders contain Visual Studio projects.
macOS
The projects/xcode folder contains an Xcode project.
Linux
The projects/make folder contains a make project.
From that folder, run make.
cd projects/make
make
FreeBSD
The projects/make.bsd folder contains a make project.
From that folder, run make.
cd projects/make.bsd
gmake
Alternative build options
The projects are generated by premake, found inside projects/premake.
You can use premake5 (alpha 14 was used) to generate other projects.
Generate other system's projects via the premake --os flag,
i.e if on linux, premake vs2019 --os=windows is valid.