This is a TinyLISP for SBC7 #4

Merged
bcox merged 2 commits from tinylisp into main 2026-03-25 23:52:24 +00:00
Owner
No description provided.
A minimal Lisp interpreter in ~4.8 KB of SBC7 assembly. Features:

- Tagged 14-bit values: cons pointers, 12-bit signed integers,
  interned symbols, builtin functions
- 896-cell cons heap with mark-and-sweep garbage collector
- Full REPL with S-expression reader and printer

Special forms: QUOTE, IF, COND, DEFINE, SET!, LAMBDA, LET, BEGIN,
AND, OR. Builtins: CAR, CDR, CONS, EQ?, ATOM?, NULL?, NUMBER?,
NOT, LIST, +, -, *, /, <, >, =, PRINT, READ, T.

Closures, recursion, and tail-call optimization all work.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reference docs, worked examples, and two sample programs
(factorial.lsp, listops.lsp). Updates the docs index.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bcox merged commit afbefd38f7 into main 2026-03-25 23:52:24 +00:00
bcox deleted branch tinylisp 2026-03-25 23:52:24 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bcox/sbc7!4
No description provided.