compiler/docs/DEVELOPMENT_GUIDE.md
Note: for general notes about contributing, see the CONTRIBUTING.md.
For general compiler development we recommend the following workflow:
# Install dependencies
yarn
# build the custom test runner
yarn snap:build
# Run the primary tests in watch mode
yarn snap --watch
snap is our custom test runner, which creates "golden" test files that have the expected output for each input fixture, as well as the results of executing a specific input (or sequence of inputs) in both the uncompiled and compiler versions of the input.
When contributing changes, we prefer to: