https://github.com/qweeze/lisp.py
A toy lisp interpreter
https://github.com/qweeze/lisp.py
Last synced: 3 months ago
JSON representation
A toy lisp interpreter
- Host: GitHub
- URL: https://github.com/qweeze/lisp.py
- Owner: qweeze
- Created: 2022-02-25T23:08:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T23:09:18.000Z (almost 4 years ago)
- Last Synced: 2025-01-05T12:41:51.998Z (about 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lisp.py
A toy lisp interpreter inspired by Peter Norvig's [lispy](https://norvig.com/lispy.html) and [Make a Lisp](https://github.com/kanaka/mal)
```bash
% python lisp.py
> (define square (lambda (x) (* x x)))
> (map square (list 1 2 3))
(1 4 9)
```