Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JackMc/BasicLisp
A basic (basic) Lisp interpreter in C!
https://github.com/JackMc/BasicLisp
Last synced: 2 months ago
JSON representation
A basic (basic) Lisp interpreter in C!
- Host: GitHub
- URL: https://github.com/JackMc/BasicLisp
- Owner: JackMc
- License: mit
- Created: 2014-05-18T20:37:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T07:54:47.000Z (about 9 years ago)
- Last Synced: 2024-08-03T18:14:05.686Z (6 months ago)
- Language: C
- Size: 59.6 KB
- Stars: 23
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - BasicLisp
README
# BasicLisp
This is a Lisp interpreter I wrote as a learning exercise in the summer of 2014
to learn more about parsing and interpreters. Note that it is pretty unstable
and can't read files reliably, but the REPL works pretty well. To build and run:```
mkdir build
cmake ../ && make
./basic_lisp
```This interpreter supports functions, basic arithmetic, conditional statements,
loops, and builtin functions. See files beginning with builtins_ for
implementations of these.## TODO
* Test and fix bugs in file loading
* Better error messages for unexpected end of file