http://www.perlmonks.org?node_id=1002622


in reply to Re: Perl Parsing Based on Supplied Precedence
in thread Perl Parsing Based on Supplied Precedence

Your change in the math operator precedence looks good. I did not test the logic of the math operators so much as that the precedence supplied was correctly represented in the tree. My "&&", as described by precedence, is closer to "and" (in Perl). Keep in mind, that the idea here was not to properly parse Perl, but to properly parse grammars (in general) by defined operator precedence.

Thank you for your feedback, I'm happy to see that someone was interested enough to play with it. :)