SPUG: Looking for info on developing programming language parser / lint program

Michael R. Wolf MichaelRWolf at att.net
Fri Nov 28 20:10:53 CST 2003


Chris Wilkes <cwilkes-spug at ladro.com> writes:

> On Tue, Nov 25, 2003 at 11:03:34AM -0800, david.ward at philips.com wrote:
>> Can anyone give me any recommendations as to books, module documentation, 
>> etc that might be helpful on the construction of programming language 
>> parsers and / or lint programs? 
>
> Have you looked into the perl module Parse::RecDescent?
> http://search.cpan.org/src/DCONWAY/Parse-RecDescent-1.94/tutorial/tutorial.html
> http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-3.25/FAQ.pm
>
> and from the FAQ:
>
> http://www.urth.org/~metaperl/domains/semantic-elements.com/perl/prd/dans-blog/000235.html

"Principles of Compiler Design", (AKA "The Dragon Book") by Al Aho and
Jeff Ullman was the standard for years. It's out of print, but
probably available from a library or a colleague. It's not "modern",
but it does discuss recursive design compilers, the state of the art
for a long time.

-- 
Michael R. Wolf
    All mammals learn by playing!
        MichaelRWolf at att.net





More information about the spug-list mailing list