A visualizer for lambda expressions
The development environment has several dependencies:
To set up the environment:
-
Install each of these dependencies:
-
Clone this repository
-
Run
bower install
to install the remaining dependencies
- Modify the grammar in the file
assets/lambda.pegjs
- Generate a new parser, by running the following command in the top-level directory:
```
pegjs assets/lambda.pegjs js/lambda-parser.js
```
-
pegjs assumes we're using node on the server, but wer' not. So, we need to modify the generated parser. a. Uncomment the first line, which looks something like:
module.exports = (function() {
b. Uncomment the last few lines, which look something like:
return { SyntaxError: SyntaxError, parse: parse }; })();