Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by blokhead (Monsignor)
on Dec 14, 2004 at 20:01 UTC ( #414837=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ## for right-associative ops:
    lower_prec_expr : higher_prec_expr lower_prec_op lower_prec_expr
    ...
    lower_prec_expr : lower_prec_expr lower_prec_op higher_prec_expr
                    | higher_prec expr
    
  2. or download this
    use Parse::RecDescent;
    use Data::Dumper;
    ...
    foo == bar || baz < bar
    foo == bar || baz < bar || foo && bar
    (foo || bar) || baz
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-11-26 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?