I have a working LALR parser, can I easily transform it into an LPG
grammar?

LPG doesn't seem to have associativities and precedence keywords. What
kind of parser technology does LPG use?

I am particularly interested in error recovery, so that an AST can always
be built for programs that are being edited in Eclipse. I have read that
LPG has a good error recovery mechanism. How do I use it?]]>2008-04-12T11:04:50-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/19264/#msg_19264
deterministic parser or a parser with backtracking.

There are a few things left to do that we have not had the chance to
fully address (some of which you touched upon) ...

. Precedence specification (a la YACC? ... to resolve conflicts)

. Complete the implementation of a semi-automatic method for
constructing ASTs for erroneous input - adding prosthetic nodes where
needed to complete the tree.

. A GLR (Generalized LR Parser) driver (for ambiguous grammars)

The error recovery is automatic so you don't have to do anything to use
it. However, the prosthesis component has not been fully implemented.
So, for now, it only issues diagnostic messages and does not always
produce an AST.]]>Philippe Charles2008-04-16T16:01:40-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/570248/#msg_570248
deterministic parser or a parser with backtracking.

There are a few things left to do that we have not had the chance to
fully address (some of which you touched upon) ...

. Precedence specification (a la YACC? ... to resolve conflicts)

. Complete the implementation of a semi-automatic method for
constructing ASTs for erroneous input - adding prosthetic nodes where
needed to complete the tree.

. A GLR (Generalized LR Parser) driver (for ambiguous grammars)

The error recovery is automatic so you don't have to do anything to use
it. However, the prosthesis component has not been fully implemented.
So, for now, it only issues diagnostic messages and does not always
produce an AST.]]>Philippe Charles2008-04-16T16:01:40-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/21389/#msg_21389
this can work for all cases^_^)]]>Jin Missing name2008-06-10T07:39:12-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/571050/#msg_571050
this can work for all cases^_^)]]>Jin Missing name2008-06-10T07:39:12-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/21397/#msg_21397
lpg is a great work! GLR seem a challenge. hope to see it in lpg early:)
Jin]]>Jin Missing name2008-06-10T07:43:07-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/571066/#msg_571066
lpg is a great work! GLR seem a challenge. hope to see it in lpg early:)
Jin]]>Jin Missing name2008-06-10T07:43:07-00:00Re: LALR parser to LPG &amp; error recoveryhttps://www.eclipse.org/forums/index.php/mv/msg/6124/573221/#msg_573221
I am very interested in these features (precedence specification and
producing ASTs for erroneous input). Can you tell me when they will be
implemented? Are you working on it?