Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newbie Qs on Parsing and Pascal

"toby" <toby@telegraphics.com.au>
6 Oct 2005 18:47:11 -0400

          From comp.compilers

Related articles
Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newbie Q vtatila@mail.student.oulu.fi (Veli-Pekka Tštilš) (2005-10-02)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb englere.geo@yahoo.com (Eric) (2005-10-03)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb toby@telegraphics.com.au (toby) (2005-10-03)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb cleos@nb.sympatico.ca (Cleo Saulnier) (2005-10-04)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb vtatila@mail.student.oulu.fi (Veli-Pekka Tštilš) (2005-10-04)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb oicmrsnakes@hotmail.com (James T. Sprinkle) (2005-10-06)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb toby@telegraphics.com.au (toby) (2005-10-06)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb vtatila@mail.student.oulu.fi (Veli-Pekka Tštilš) (2005-10-07)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb herm@viabcp.com (Hugo Rozas) (2005-10-19)
Re: Crenshaw's Compiler Tutorial: 68k Asm to X86 Vs Interpreting, Newb jcrens@earthlink.net (Jack Crenshaw) (2006-01-26)
| List of all articles for this month |

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.



Post a followup to this message

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