Wow. Do you also parse Scheme?
Yes, but currently using brute-force (based on the EBNF, using many infinite look-aheads).
Actually, I'm using antlr, which is a predictive LL(k) parser, so I need to convert from LR to LL. However, my specification is to "accept all valid input and disallow most invalid inputs", and this goal is closer and closer.
Bert _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user