|[42 earlier articles]|
|Re: Good practical language and OS agnostic text? firstname.lastname@example.org (BGB) (2012-04-22)|
|Re: Good practical language and OS agnostic text? email@example.com (2012-04-22)|
|Re: Good practical language and OS agnostic text? firstname.lastname@example.org (glen herrmannsfeldt) (2012-04-22)|
|Re: Good practical language and OS agnostic text? email@example.com (BartC) (2012-04-23)|
|Re: Good practical language and OS agnostic text? firstname.lastname@example.org (2012-04-23)|
|Re: Good practical language and OS agnostic text? email@example.com (2012-05-02)|
|Re: Good practical language and OS agnostic text? firstname.lastname@example.org (Johann 'Myrkraverk' Oskarsson) (2012-06-06)|
|Re: Good practical language and OS agnostic text? email@example.com (Srinivas Nayak) (2012-06-16)|
|From:||Johann 'Myrkraverk' Oskarsson <firstname.lastname@example.org>|
|Date:||Wed, 06 Jun 2012 16:52:58 +0000|
|Organization:||A noiseless patient Spider|
|Posted-Date:||06 Jun 2012 17:30:34 EDT|
> On Tuesday, April 17, 2012 11:28:46 PM UTC+2, (unknown) wrote:
>> Guys, I'm having a bear of a time finding a good practical language
>> and OS agnostic text on writing a compiler. I'm weak in math and not
>> interested in the theoretical details.
> In addition to all the good advice given by others, you might be
> interested by Christian Queinnec's Lisp in Small Pieces
> which describes many flavors of Lisp interpreters and compilers.
I have not read the English version, only the 2nd edition in French,
Principes d'Implantation de Scheme et Lisp.
Each chapter has its own version of a complete interpreter implementing
the features discussed. So it's quite a down to the earth discussion.
Even though it discusses lisp with an implementation in lisp it's well
worth reading, or browsing through, for any language or compiler
But you need to be able to read lisp. Which may or may not be worse
It goes over lisp features, one at a time. The difference between lisp
1 and 2; that is the difference between lexical and dynamic scoping and
the andvances & difficulties each imposes on the interpreter.
Recursion, single and mutual. And how each lisp version influences the
It goes into continuations and control flow. A discussion on how
exceptions are handled in the by interpreter.
A chapter on side effects.
For the mathimatically inclined, a chapter in implementing Lisp in
Lambda Calculus. To me, this was amusing, but not apparently relevant
to practical applications.
The chapters I haven't read yet are (or recently enough to comment) are
Fast Interpretation, Compilation, Reflection, Macros (not to be confused
with the C preprocessor), Compiling to C and Essence of an Object
Johann Oskarsson http://www.2ndquadrant.com/ |
PostgreSQL Development, 24x7 Support, Training and Services --+--
Return to the
Search the comp.compilers archives again.