Do you know where your variables are? | |
PerlMonks |
Re^3: Reversible parsing (with Parse::RecDescent?)by Joost (Canon) |
on Mar 15, 2008 at 01:35 UTC ( [id://674329]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|