Ari Johnson <iamtheari@gmail.com> wrote:
+---------------
| Yannick Gingras <ygingras@ygingras.net> writes:
| > Ok thats a lot of questions and I probably can't attack them
| > until I learn more. So what should I read?
|
| Lisp in Small Pieces, if you can find a copy.
+---------------
Absolutely!! A great book! Especially the section on
"fast interpretation" where he [Christian Queinnec]
presents several different ways to manage lexical
environments.
Also read the chapters on interpreters & compilers in
Peter Norvig's "Paradigms of Artificial Intelligence
Programming" <http://www.norvig.com/paip.html>.
+---------------
| Also, study simpler lisp implementations.
+---------------
Lisp500, SIOD, SCM. [Though the latter two are Schemes.]
And I've found the source code for CMUCL to be surprisingly
readable, *except* the interpreter and compiler proper. That is,
all the code for the built-in CL "library" functions [the stuff
in "src/code/" as opposed to the stuff in "src/compiler/"] is
quite readable.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607