Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mewo2/gertie
A Scheme-like Lisp interpreter
https://github.com/mewo2/gertie
Last synced: 2 months ago
JSON representation
A Scheme-like Lisp interpreter
- Host: GitHub
- URL: https://github.com/mewo2/gertie
- Owner: mewo2
- License: other
- Created: 2016-01-17T19:07:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-17T19:09:12.000Z (about 9 years ago)
- Last Synced: 2024-08-03T18:16:15.022Z (6 months ago)
- Language: C
- Size: 13.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- AwesomeInterpreter - gertie
README
# Gertie: a Lisp interpreter
This is a Lisp interpreter I developed over the course of a few weeks in 2014,
as a learning exercise. You probably don't want to use it for anything - it is
very much a product of a beginner.The language itself is broadly Scheme-like, but not very well developed. The
type system is rudimentary, and the macros are extremely unhygienic. I got
bored before implementing `call/cc`, but all of the framework for it is there.Some features:
* Basic lispish syntax (`lambda`, `let`, `define`, `if`, etc)
* A slightly janky macro system
* More sophisticated syntax (`let*`, `cond`, etc) defined through macros
* A mostly bootstrapped standard library
* A mark-and-sweep garbage collector
* A terrible hand-written lexer/parser