Module::Build::Parse::Yapp - build Parse::Yapp parsers from source
Contents
Copyright And License
This software is Copyright (c) 2020 by Andrius Merkys.
This is free software, licensed under:
The (three-clause) BSD License
perl v5.36.0 2022-11-29 Module::Build::Parse::Yapp(3pm)
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
