Re: Next against the wall when the virtual revolution comes...

[email protected] (Adam Turoff) Wed, 12 Apr 2000 18:28:27 -0400
Newsgroups perl.sdk
Message-ID <[email protected]>
Damian Conway wrote:
> To build a full parser you therefore need Parse::Lex (or a hand-rolled
> tokenizer) plus Parse::Yapp (or a hand-rolled token parser); or just
> Parse::RecDescent.

Are there any plans for SDK-specific documentation?  It seems like this
distinction confused a few people on this list; the POD pages for each
of these three modules aren't incredibly descriptive on how they
relate to the other two:

http://search.cpan.org/doc/DCONWAY/RecDescent-1.00/RecDescent.pod

  Parse::RecDescent - Generate Recursive-Descent Parsers 

http://search.cpan.org/doc/PVERD/ParseLex-2.15/lib/Parse/Lex.pm

  Parse::Lex - Generator of lexical analyzers 

http://search.cpan.org/doc/FDESAR/Parse-Yapp-1.01/lib/Parse/Yapp.pm

  Parse::Yapp - Perl extension for generating and using LALR parsers.


I would suspect that someone who can figure out the BNF for a language
but hasn't come across lex and yacc would be quite confused at these
three modules.

Damian's brief paragraph above should suffice, if it were in the right place.

-- Adam