λab (a.k.a. LambdaLab) is an interactive λ-calculus interpreter for learning.
You can get the TypeScript compiler and other dependencies from
npm by typing
npm install or just
yarn if you have that.
To build the Web interface, type
npm run build-web or
lambdalab.bundle.js. Open the
index.html file in your browser.
<script> for the Web interface is
To build the command-line version, type
npm run build-cli or
yarn run build-cli. Use
node build/lc.js to run the script directly. Or type
npm link or
yarn link to symlink an
lc executable; then, as long as the right directory is on your
$PATH, you can just type
The main entry point for the CLI tool is
Running the Tests
yarn test or
npm test to build the source for the tests and run them.