NAME

MarpaX::Grammar::Parser::Filer - Helps generate share/*.(cooked,raw).tree files

Synopsis

This module is only for use by the author of MarpaX::Grammar::Parser.

See scripts/generate.demo.pl.

Description

MarpaX::Grammar::Parser::Filer helps generate the share/*.(cooked,raw).tree files.

Constructor and Initialization

Calling new()

new() is called as my($obj) = MarpaX::Grammar::Parser::Filer -> new().

It returns a new object of type MarpaX::Grammar::Parser::Filer.

Methods

get_files($dir_name, $type)

Returns a hash (sic) of files from the given $dir_name, whose type (extension) matches $type.

The hash is keyed by the file's basename. See File::Basename.

generate_trees()

Converts all share/*.bnf files into their corresponding share/*.(cooked,raw).tree versions using scripts/generate.trees.pl.

Version Numbers

Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.

Machine-Readable Change Log

The file Changes was converted into Changelog.ini by Module::Metadata::Changes.

Support

Email the author, or log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=MarpaX::Grammar::Parser.

Author

MarpaX::Grammar::Parser was written by Ron Savage <ron@savage.net.au> in 2013.

Home page: http://savage.net.au/index.html.

Copyright

Australian copyright (c) 2013, Ron Savage.

All Programs of mine are 'OSI Certified Open Source Software';
you can redistribute them and/or modify them under the terms of
The Artistic License, a copy of which is available at:
http://www.opensource.org/licenses/index.html