Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 666 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 666 Bytes

lambda-calculator.js

lambda-calculator.js is an implementation of the world's oldest functional programming language, λ-calculus. It implements Alonzo Church's original, untyped variant with call-by-value semantics and modern, dot-based syntax. As such, it differs substantially from conventional functional programming language interpreters.

Installation

user@host:~$ sudo npm install --global lambda-calculator.js

Usage

user@host:~$ lambda-calculator.js
> (\ x y . y x) a b
b a
> 

Use Ctrl-C to quit.