Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Left-associative binary operators in Parse::RecDescent

by jryan (Vicar)
on Dec 14, 2004 at 20:26 UTC ( #414844=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    binary_op     : '(' subexpression (op subexpression {[\@item[1..2]]} )
    +(s?) ')'
                    { [  \$item[2], map { \@\$_ } \@{\$item[3]} ] }
    
  2. or download this
    binary_op     : '(' subexpression (op subexpression {[@item[1..2]]})(s
    +?) ')'
                    { [ $item[2], map { @$_ } @{$item[3]} ] }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-07 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls