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

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

by GrandFather (Saint)
on Jan 16, 2021 at 03:44 UTC ( [id://11126988]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $rolls = $grammar->parse(\$input, 'Actions');
        
    print "Result: @$$rolls\n";
    
  2. or download this
    Dice_Expression ::= Simple_Dice action => ::first
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found