Sujet : Kilo Lisp 22
De : anthk (at) *nospam* openbsd.home (anthk)
Groupes : comp.lang.lispDate : 27. May 2025, 15:51:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrn103bk6a.1l9s.anthk@openbsd.home.localhost>
User-Agent : slrn/1.0.3 (OpenBSD)
http://t3x.org/klisp/22/index.htmlFrom the site:
KILO LISP 22 is a small interpreter and REPL for purely symbolic LISP. It
is derived from the even smaller Kilo LISP. Its source code consists of
30K bytes of comprehensible code (24KB T3X + 6KB LISP) and it runs in
80K bytes of memory, i.e. it could run on 16-bit systems with separate I+D
space or as a small-model DOS program.
Despite its small size KILO LISP 22 offers:
* lexical scoping
* tail call elimination
* macros
* quasiquotation
* variable-argument functions
* constant-space garbage collection
* image files
* line editing and history
* >10K free cons cells
The code should compile with any T3Xr7 compiler. A DOS EXE file (20K
bytes) is included in the source code archive. There is an smaller version
of KILO LISP 22 that is written in T3X/0.
The KILO LISP 22 language looks suspiciously like Common LISP, but there
are some differences and influences from Scheme. It is a LISP-1 that makes
a lot of use of tail recursion. Function names and most special forms are
LISPy, CAR/CDR of NIL is NIL, T is true, and NIL is false. Some trivial
Common LISP programs will probably just run in KILO LISP 22.
------
I have to say that the rest of Lisp projects
(Scheme actually, such as sf9es, or
Zenlisp) are worthy to watch too.