Re: A handful of LISP questions

Martin Rodgers <mcr@nerdware.org>
Tue, 19 Jun 2007 09:42:58 +0100

          From comp.compilers

Related articles
A handful of LISP questions tactics40@gmail.com (tactics) (2007-06-19)
Re: A handful of LISP questions gene.ressler@gmail.com (Gene) (2007-06-19)
Re: A handful of LISP questions nmh@t3x.org (Nils M Holm) (2007-06-19)
Re: A handful of LISP questions mcr@nerdware.org (Martin Rodgers) (2007-06-19)
Re: A handful of LISP questions mal@wyrd.be (Lieven Marchand) (2007-06-19)
Re: A handful of LISP questions ahz@snafu.de (Andreas Hinze) (2007-06-19)
Re: A handful of LISP questions tactics40@gmail.com (tactics) (2007-06-20)
Re: A handful of LISP questions gene.ressler@gmail.com (Gene) (2007-06-20)
| List of all articles for this month |

From: Martin Rodgers <mcr@nerdware.org>
Newsgroups: comp.compilers
Date: Tue, 19 Jun 2007 09:42:58 +0100
Organization: Compilers Central
References: 07-06-033
Keywords: Lisp, parse

tactics wrote:


> If I think of any more questions, I'll post them here. I hope someone
> can give me some good advice on these topics.


Firstly, the Scheme FAQ entry [1-4] Where can I learn about implementing
Scheme interpreters and compilers?
http://www.faqs.org/faqs/scheme-faq/part1/section-4.html


If you don't mind reading a little Haskell code, there's a tutorial on
writing a Scheme interpreter.
http://halogen.note.amherst.edu/~jdtang/scheme_in_48/tutorial/overview.html


The parser section may be of particular interest to you.
http://halogen.note.amherst.edu/~jdtang/scheme_in_48/tutorial/parser.html


You can also learn a lot by studying a good, clean implementation. I
recommend SCM, as its written in C and isn't so heavily optimised that
the code obscures the basic concepts.
http://www-swiss.ai.mit.edu/~jaffer/SCM.html


Here's a pretty complete Scheme parser written in Perl.
http://search.cpan.org/~sfink/parrot-0.0.11.2/languages/scheme/Scheme/Parser.pm
--
Martin Rodgers http://www.wildcard.demon.co.uk



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.