in reply to Re^2: Reversible parsing (with Parse::RecDescent?)
in thread Reversible parsing (with Parse::RecDescent?)
There may be multiple parse trees for that input, but the parser will find one. That parse tree is unambiguous and refers to just one string, so you will be able to go back.But if the grammar is ambiguous you may not get the result you expect by parsing the result of "reverse parse" again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Reversible parsing (with Parse::RecDescent?)
by blokhead (Monsignor) on Mar 15, 2008 at 03:00 UTC |