Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Anonymous Monk
on Oct 02, 2016 at 05:58 UTC ( [id://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 (Patriarch) on Oct 03, 2016 at 20:35 UTC

    Fixed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-24 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found