Philippe Charles

Show:

What's happening?

  • Followup: RE: Were conflicts removed or not listed?

    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

  • Followup: RE: %Import vs %Include section

    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

  • Followup: RE: Error messages -

    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

  • Followup: RE: Error messages -

    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

About Me

  • 2006-04-11 (4 years ago)
  • 1499786
  • pgcharles (My Site)
  • Philippe Charles

Send me a message