Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Operator Associativity and Eliminating Left-Recursion in Parse::RecDescent

by Anonymous Monk
on Oct 02, 2016 at 05:58 UTC ( #1173110=note: print w/replies, xml ) Need Help??


in reply to Operator Associativity and Eliminating Left-Recursion in Parse::RecDescent

Typo: This line,
pow_ : '**' pow { [ $item[2], $arg[0], $item[3] ] }
should instead be:
pow_ : '**' pow { [ $item[1], $arg[0], $item[2] ] }
The correct version is there in the code, but not in its earlier description. Very nice article, thanks!

Replies are listed 'Best First'.
Re^2: Operator Associativity and Eliminating Left-Recursion in Parse::RecDescent
by ikegami (Pope) on Oct 03, 2016 at 20:35 UTC

    Fixed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1173110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-08-05 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (35 votes). Check out past polls.

    Notices?