in reply to Learning about Lexing/Parsing in general form?

There was an interesting thread about it on the Perl 6 language list.

I agree with the first comment, the best introductory book I found is certainly the Dragon Book.

  • Comment on Re: Learning about Lexing/Parsing in general form?

Replies are listed 'Best First'.
Re: Re: Learning about Lexing/Parsing in general form?
by riffraff (Pilgrim) on Dec 06, 2001 at 19:22 UTC
    There is also "Writing Compilers in C" by Allen I Holub. It walks you through building a lexer, a parser, and a compiler for a subset of C. Very informative.

    -rr

    PS: I've also got a book called something like "Creating Compilers For Little Languages". I can't remember who it's by, though. It goes through the process of creating three different little languages, and has the code on a disk.

    PPS: I just found a link for it:
    Constructing Language Processors for Little Languages
    http://www.amazon.com/exec/obidos/ASIN/0471597546