-
That's because once a cycle is detected, LPG stops computing extra lookahead. You are correct that in such a case not all the conflicts are reported. Note that when you asked LPG to compute 2 lookaheads, it's really a request to compute "up to 2" lookaheads. The lookahead computation is done incrementally until either the conflict is resolved, or the maximum lookahead count is reached...
2009-09-29 18:31:49 UTC in LALR Parser Generator
-
Adolfo,
%Include is a legacy feature - It interpolates the content specified just like #include does in the C preprocessor. %Import imports well-formed LPG segments.
--philippe.
2009-08-19 23:38:34 UTC in LALR Parser Generator
-
If that's the issue then it's not a big problem. Yes, we should be able to do that.
2009-07-17 15:54:27 UTC in LALR Parser Generator
-
Peter,
I'd have to know more about your grammar in order to asnwer the question. In general, the more deterministic the grammar, the more effective the error recovery. For example, with a totally deterministic grammar like Java 1.0, the messages are usually pretty accurate. If you can send me the grammar you are using and an erroneous example with the messages that you are dissatisfied with...
2009-07-17 14:15:42 UTC in LALR Parser Generator
-
pgcharles committed revision 10262 to the X10 SVN repository, changing 1 files.
2009-06-22 21:55:02 UTC in X10
-
pgcharles committed revision 10261 to the X10 SVN repository, changing 1 files.
2009-06-22 21:55:01 UTC in X10
-
pgcharles committed revision 10260 to the X10 SVN repository, changing 1 files.
2009-06-22 21:55:00 UTC in X10
-
pgcharles committed revision 10259 to the X10 SVN repository, changing 1 files.
2009-06-22 21:54:59 UTC in X10
-
pgcharles committed revision 10139 to the X10 SVN repository, changing 1 files.
2009-06-22 21:52:59 UTC in X10
-
pgcharles committed revision 10138 to the X10 SVN repository, changing 1 files.
2009-06-22 21:52:58 UTC in X10