https://github.com/oskaritimperi/lispish
A simple LISP-like programming language made to learn a few things.
https://github.com/oskaritimperi/lispish
Last synced: 7 months ago
JSON representation
A simple LISP-like programming language made to learn a few things.
- Host: GitHub
- URL: https://github.com/oskaritimperi/lispish
- Owner: oskaritimperi
- Created: 2014-05-20T05:17:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-20T05:17:58.000Z (over 11 years ago)
- Last Synced: 2025-02-16T02:41:43.358Z (9 months ago)
- Language: C
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lispish
A simple LISP-like programming language made to learn a few things. The
language was based on a tutorial [1].
For now this is useful only to do basic arithmetic. :-)
Features:
- basic arithmetic works
- closures
- builtin symbols: atom, eq, define, if, lambda, quote, mod, +, -, /,
*, >
- types: integer, string, symbol, list
- REPL uses linenoise for history and line-editing
- embedded tests
To build the interpreter:
make repl
To build the tests:
make test
To build both of them together:
make all
[1] https://github.com/kvalle/diy-lisp