A LISP system that fits in 64K bytes of memory
LISPy things you can do in 64K bytes of core
Kilo LISP, a portable ANSI C implementation, compiles to a tiny-model PCDOS executable that runs in just 64K bytes. The system itself takes about 13K bytes, leaving room for 8192 cons cells. That's less than half the cons cells of a big IBM 704 installation but about four times the space of a minimal PDP-1. The essay explores what LISPy things you can do in that space, ignoring run times.
The Kilo LISP system offers less than half as many cons cells as a big IBM 704 installation and about four times the space of a minimal PDP-1.
- sudahtigabulan
> Note that programs were usually typed on as few lines as possible, because they had to be punched to punched cards or typed in at a teletype which echoed its input on paper.
I suspect this is the real reason behind "cram all the closing parentheses together on the same line" rule.
The only rationale I've seen online is in Taylor Campbell's style guide:
> Absolutely do not place closing brackets on their own lines.
> ...
> Rationale: The parentheses grow lonely if their closing brackets are all kept separated and segregated.
Yeah, right.
Anybody know anything about how this rule came to be?
- tomhow
Previously...
LISPy things you can do in 64K bytes of core (2019) - https://news.ycombinator.com/item?id=44490099 - July 2025 (4 comments)
- matt_daemon
This is somewhat confusing as there is a fairly well known toy Lisp interpreter called Lispy written by Peter Norvig