logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Module::Build::Parse::Yapp - build Parse::Yapp parsers from source

Author

       Andrius Merkys <merkys@cpan.org>

Description

       Module::Build::Parse::Yapp is a subclass of Module::Build made to build Parse::Yapp parsers from the
       source. Thus, prebuilt parsers do not have to be included in the source distribution.

       Module::Build::Parse::Yapp looks for *.yp files under 'lib' and produces Perl modules in place of them
       under 'blib/lib'. Therefore, a grammar file 'lib/A/B/C.yp' will be converted to 'blib/lib/A/B/C.pm' with
       a package name of 'A::B::C'.

Name

       Module::Build::Parse::Yapp - build Parse::Yapp parsers from source

See Also

perl(1), Module::Build(3), Parse::Yapp(3)

Synopsis

           use Module::Build::Parse::Yapp;
           my $build = Module::Build::Parse::Yapp->new
               (
                   module_name => 'Foo::Bar',
                   ...other stuff here...
               );
           $build->add_build_element('yp');
           $build->create_build_script;

Version

       version 0.1.2

See Also