in reply to Operator Associativity and Eliminating Left-Recursion in Parse::RecDescent
Typo: This line,
should instead be:pow_ : '**' pow { [ $item[2], $arg[0], $item[3] ] }
The correct version is there in the code, but not in its earlier description. Very nice article, thanks!pow_ : '**' pow { [ $item[1], $arg[0], $item[2] ] }
In Section
Tutorials