Skip to content

xieyuheng/lambda-lisp.js

Repository files navigation

lambda-lisp.js

An implementation of lambda calculus.

(define name body)
(define (name arg ...) body)
(import name ... "./file.scm")
(assert-equal lhs rhs)
(assert-not-equal lhs rhs)

(lambda (name) ret)
(let ((name exp) ...) body)

Usages

Command line tool

Install it by the following command:

npm install -g @xieyuheng/lambda-lisp.js

The command-line program is called lambda-lisp.js.

Development

npm install
npm run build
npm run test

License

GPLv3