Walter - Discrepancy between EqualExpression spec and implementation

xs0 xs0 at xs0.com
Mon May 29 11:26:54 PDT 2006


> Recursive descent parsers are weird. 

Heh, I think it's quite the opposite, with recursive descent you can 
actually figure out what's going on. Have you seen a yacc-generated 
parser (it's not recursive descent but "shift/reduce", LALR or whatever 
that's called)? Now that's really weird:

http://search.cpan.org/src/RGARCIA/perl-5.9.3/perly.tab
http://search.cpan.org/src/RGARCIA/perl-5.9.3/perly.c

Of course, the input file is much more readable, but you can't compare 
C++ code in one case with grammar definition code in the other case, can 
you? :)


xs0



More information about the Digitalmars-d mailing list