Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: First steps with Marpa::R2 and BNF

by duelafn (Parson)
on Jan 17, 2021 at 19:04 UTC ( [id://11127040]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    root ::= Dice_Expression     action => finish
    Dice_Expression ::= ...
    ...
        # ... additional cleanup or else change whole sub to just return $
    +_[0]
        return $self
    }
    
  2. or download this
    r_modifier        ::= 'r' Die_Modifier_Comp Die_Modifier_Val   action 
    +=> modifier_r_comp
    Die_Modifier_Comp ::= Die_Modifier_Comp_Toke*                  action 
    +=> ::first
    Die_Modifier_Comp_Toke ~ 'gt' | 'lt'
    
  3. or download this
    r_modifier        ::= 'r' Die_Modifier_Comp Die_Modifier_Val  action =
    +> modifier_r_comp
    Die_Modifier_Comp ::= Die_Modifier_Comp_Toke                  action =
    +> ::first
                        | None
    Die_Modifier_Comp_Toke ~ 'gt' | 'lt'
    None ::=
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found