From: | "toby" <toby@telegraphics.com.au> |
Newsgroups: | comp.compilers |
Date: | 6 Oct 2005 18:47:11 -0400 |
Organization: | http://groups.google.com |
References: | 05-10-01305-10-049 |
Keywords: | books |
Posted-Date: | 06 Oct 2005 18:47:11 EDT |
James T. Sprinkle wrote:
> "Veli-Pekka Tätilä" <vtatila@mail.student.oulu.fi> wrote
>
> > Some things in computing seem like black magic untill you understand
> > enough of the mysterious bits to realize they aren't. Compiling and
> > parsing are two such things. Being very new to parsing, I was glad
> > to discover a simple, hand-son tutorial called Let's Build a
> > Compiler by Jack W. Crenshaw. It's available on-line at:
>
> > http://www.freetechbooks.com/post-60.html
> > ...
> > My last question is, does the Crenshaw tutorial make sense without
> > being able to implement and or fully understand the assembler bits? I
> > suppose the principles of parsing are sort of target language neutral.
> A couple years back, I started following this tutorial and ran into
> the same problem. Written in Pascal and emits non x86 assembly
> code. I decided as I read through it, I would convert the pascal
> code to c code and convert the assembly code to x86.
I'm beginning to suspect the lcc book (cited above) could be one of
the best practical (with source) tutorials there is. At least it
doesn't lock you into a particular target machine, so it's essentially
teaching platform-independent compiler techniques.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.