Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/glguida/lac

a LISP interpreter
https://github.com/glguida/lac

Last synced: about 2 months ago
JSON representation

a LISP interpreter

Lists

README

        

LAC is a laconic lisp interpreter.

Lexically scoped, single-namespace, extensible.

This is mostly a free time hack to learn lisp internals.

---
Extensibility: How to add new types

1. Create a C file containing:

- Three type specific functions
- 'eq
- 'print
- 'eval

- an INIT function that register the ext_type to the system (will be
automatically executed at runtime, no need to change the main file)

2. Add lexer rules to scan and allocate the new type in 'atoms.l

3. Debug