Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 548 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 548 Bytes

lc-js: A λ-calculus interpreter written in JavaScript

This interpreter was written for this blog post and was based on the implementation showed in the book Types and Programming Languages.

Running

In order to run the interpreter, clone this repo, and run:

$ node index.js <file>

You can also print the AST for the program by running:

$ node index.js --ast <file>