If you want to fix a bug or implement a feature in the Lucy compiler, that should be done in the liblucy project.
Most development can be done using the
lucyc CLI. You can build just this binary using
make bin/lucyc. Below is instructions on building liblucy.
liblucy has 2 compilation targets:
lucyc(Lucy compiler) which is a native binary.
Note that building on Windows is not currently possible. We would love someone to contribute this!
You can build just the CLI by running:
lucyc command will be in
The wasm binaries are built in 4 forms:
You can build any of these with make, such as:
The release versions are built using
Each of these has a separate entrypoint in liblucy, such as
main-browser-dev.js. When someone imports liblucy in Node this is controlled with the package.json
You can build all of the binaries using: