Re: Generating a simple hand-coded like recursive descent parser

"Mr.E" <mr.waverlye@verizon.net>
16 Sep 2006 15:54:30 -0400

          From comp.compilers

Related articles
[12 earlier articles]
Re: Generating a simple hand-coded like recursive descent parser DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-09-11)
Re: Generating a simple hand-coded like recursive descent parser mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-09-11)
Re: Generating a simple hand-coded like recursive descent parser mr.waverlye@verizon.net (Mr.E) (2006-09-11)
Re: Generating a simple hand-coded like recursive descent parser ArarghMail609@Arargh.com (2006-09-11)
Re: Generating a simple hand-coded like recursive descent parser mr.waverlye@verizon.net (Mr.E) (2006-09-11)
Re: Generating a simple hand-coded like recursive descent parser tommy.thorn@gmail.com (Tommy Thorn) (2006-09-12)
Re: Generating a simple hand-coded like recursive descent parser mr.waverlye@verizon.net (Mr.E) (2006-09-16)
Re: Generating a simple hand-coded like recursive descent parser tommy.thorn@gmail.com (Tommy Thorn) (2006-09-18)
The 30 min optimizing native code compiler [was: Generating a simple h tommy.thorn@gmail.com (Tommy Thorn) (2006-09-21)
Re: Generating a simple hand-coded like recursive descent parser DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-09-21)
Re: Generating a simple hand-coded like recursive descent parser chris.dollin@hp.com (Chris Dollin) (2006-09-22)
Re: Generating a simple hand-coded like recursive descent parser DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-09-25)
Re: Generating a simple hand-coded like recursive descent parser chris.dollin@hp.com (Chris Dollin) (2006-09-25)
[28 later articles]
| List of all articles for this month |

From: "Mr.E" <mr.waverlye@verizon.net>
Newsgroups: comp.compilers
Date: 16 Sep 2006 15:54:30 -0400
Organization: Compilers Central
References: 06-09-02906-09-042 06-09-048 06-09-060
Keywords: parse
Posted-Date: 16 Sep 2006 15:54:30 EDT

Tommy Thorn wrote:


> I'll readily admit I had much fun hacking it together, though I hope
> you realize that this is not production ready code and the style is
> aweful (to make it fit).
>
> Our dear moderator be willing, I've made it a tad more realistic and
> finish the 2nd half: a JIT binary code compiler (works on x86 Linux in
> 32-bit mode).
>
> Do feel free to ask questions.
>
> Enjoy,
> Tommy
>


Thank you very much.


Just looking at the code I almost understand it all. I'm looking
forward to running it.


For me this is a labor of love but at the moment it's just laborious.
  I've wanted to learn to write a compiler for years. So many concepts
and intricacies that I never had to think about just using a language
are becoming painfully obvious to me as a first time compiler writer.


Syntax analysis, semantic analysis, error recovery has my head
throbbing. I really want my first compiler to be completely hand
written so I can really appreciate the intricacies of writing one. At
the same time I'm thinking there are tools available that would make
the job so much simpler, probably faster, with fewer errors. I could
build my own house or I can give the specs to a machine and let it
build a chunk of it for me. Which one is better, hmmmm?




W.



Post a followup to this message

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