Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Parse::EBNF 1.04

    Download button

    No screenshots available
    Downloads: 428  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Cal Henderson | More programs
    Perl Artistic License / FREE
    April 5th, 2012, 08:20 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Parse::EBNF description

    Parse W3C-Style EBNF Grammars

    Parse::EBNF is a Perl module that takes W3C-Style EBNF Grammar rules and converts them into an array of Parse::EBNF::Rule objects, which contain token trees.

    SYNOPSIS

     use Parse::EBNF;

     my $parser = Parse::EBNF->new();


     # parse lines into rules
     $parser->parse_lines(@lines);


     # fetch all compiled rules
     my $rules = $parser->rules();


     # print all rules using Data::Dumper
     $parser->dump_rules();


     # print a named rule using Data::Dumper
     $parser->dump_rule('MyProductionName');


    These trees are then trivial to convert into other grammar formats (like P:RD).


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    EBNF grammars | Perl module | EBNF | grammars | parser

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM