Walter - Discrepancy between EqualExpression spec and implementation

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun May 28 18:55:10 PDT 2006


"Unknown W. Brackets" <unknown at simplemachines.org> wrote in message 
news:e5djuj$1dik$1 at digitaldaemon.com...

> This would suggest to me that it is being parsed according to the spec, 
> roughly.  Perhaps it's just not following that exact BNF (but implementing 
> the same difference, e.g. outside EqualExpression)?

I'm thinking about it.  It's very weird, but I think I've got it.  I think 
all Walter's done with this code is factored out a recursive step; in this 
case, calling parseEqualExp() is the same as calling parseRelExp().

Recursive descent parsers are weird. 





More information about the Digitalmars-d mailing list