Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^9: Block-structured language parsing using a Perl module?

by roboticus (Chancellor)
on Aug 18, 2012 at 08:15 UTC ( [id://988175]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #---------------------------------------------------------------------
    +-------
    # LEXER section.  Grab tokens and feed to the recognizer
    ...
            $token=undef;
        }
    }
    
  2. or download this
    my $TG = Marpa::R2::Grammar->new({
            start=>'FILE', actions=>'ToyLang', default_action=>'swallow',
    ...
                [ mulop=>[qw( OP_DIV )], ],
            ],
    });
    

Log In?
Username:
Password:

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

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

    No recent polls found