Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrfright/clasp
A Lisp interpreter written in C
https://github.com/mrfright/clasp
Last synced: 2 months ago
JSON representation
A Lisp interpreter written in C
- Host: GitHub
- URL: https://github.com/mrfright/clasp
- Owner: mrfright
- License: gpl-3.0
- Created: 2014-02-02T01:38:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T16:58:06.000Z (over 9 years ago)
- Last Synced: 2024-08-03T18:17:30.452Z (6 months ago)
- Language: C
- Size: 273 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - clasp
README
clasp
=====A Lisp interpreter written in C.
Wrote it inspired by [this post about writing an interpreter in Python](http://www.michaelnielsen.org/ddi/lisp-as-the-maxwells-equations-of-software/). As I explain [here](http://faehnri.ch/all-but-finished-with-clasp/), didn't feel I learned all I could blindly following the tutorial, failed horribly trying it in C#, so finally tried in C after reading The C Programming Language.
Why the name "clasp"? Because the name "[clisp](http://www.clisp.org/)" was already taken.
##Commands
I implement the same commands they have in that post.
* +,-,*,/
* >, <
* eq?
* atom?
* null?
* car
* cdr
* cond
* cons
* quote
* define
* set!
* begin
* if
* lambda