Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdevlin/yoshi
A LISP interpreter written in C
https://github.com/sdevlin/yoshi
Last synced: 2 months ago
JSON representation
A LISP interpreter written in C
- Host: GitHub
- URL: https://github.com/sdevlin/yoshi
- Owner: sdevlin
- Created: 2012-08-04T15:05:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-03T13:45:41.000Z (almost 12 years ago)
- Last Synced: 2024-08-03T18:16:00.095Z (6 months ago)
- Language: C
- Size: 445 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- AwesomeInterpreter - yoshi
README
This is yoshi, a LISP-1 interpreter written in C. (The syntax and semantics are Scheme-like.)
The eval definition is based on SICP 4.1 with some extensions. The list of built-in functions I chose to include is mostly based on Peter Norvig's lispy. (Most diversions are due to fixnums being the sole numeric type I support.)
This implementation performs proper tail call elimination on all relevant forms.
I wrote a garbage collector. I think it works, but I have been known to make mistakes from time to time.
RIP Dennis Ritchie and John McCarthy.