[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU-COBOL] GNU-COBOL list reborn



I will check out pccts tomorrow. Would you mind sending me your
latest grammar?

Btyacc does it by backtracking. This does make good error
messages hard to come by (even compared to yacc!).

Tim Josling

Michael McKernan wrote:
...
> Pccts is the exception, Tim. It _does_ have infinite look-ahead. That sounds
> expensive, but it's only used when it's required so as a practical matter,
> it isn't a problem.  In the "built by hand" parser that I last used, we did
> have a rule that would accept either subscript or refmod, but I think that
> must have left some cleaning up to do in the semantics pass. I have no idea
> how other parsers handle it.

--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.