Back-end compiler experiments for Pyret.
-
Follow the installation instructions for configuring the BuckleScript compiler.
-
Run
yarn install
to install dependencies.
-
Run
./bin/build-parser
to build the parser. -
Run
yarn build
to generate JavaScript files.
Then you should be able to run lib/js/src/compiler/parseExpr.bs.js
with node
.
Note that BS doesn't allow us to configure the output directory so the lib/js
directory is the actual build directory.