项目
在 GitHub 查看
maryrosecook/littlelisp
关于
一个用 JavaScript 编写的小型 Lisp 解释器
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Little Lisp
A mini Lisp interpreter in JavaScript. Supports lists (obvs), function invocation, lambdas, lets, if statements, numbers, strings and the library functions first, rest and print.
- By Mary Rose Cook
- https://maryrosecook.com
- [email protected]
Thank you to Martin Tornwall for the implementations of let and if.
Repl
$ node repl.js
Some runnable programs
1
(first (1 2 3))
((lambda (x) (rest x)) ("a" "b" "c"))
探索相关项目
加载中…