a very simple lambda calculus interpreter using bun
Go to file
2024-02-13 19:59:06 -07:00
grammar.peggy interpreter 2024-02-13 19:57:27 -07:00
parser.js interpreter 2024-02-13 19:57:27 -07:00
README.md add example 2024-02-13 19:59:06 -07:00
repl.ts interpreter 2024-02-13 19:57:27 -07:00

usage: bun repl.ts

example:

➜ rlwrap bun repl.ts
>>> ((λ n.(λ f.(λ x.(f ((n f) x))))) (λ g.(λ g . (\ y.y))))
(λ g . (λ g . (λ y . y)))
>>>