Parse::EBNFParse W3C-Style EBNF Grammars | |
Download |
Parse::EBNF Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Cal Henderson
- Publisher web site:
- http://search.cpan.org/~iamcal/
Parse::EBNF Tags
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). Requirements: · Perl
Parse::EBNF Related Software