Module...::Yapp(3pm)
β¨ NAME β¨
Module::Build::Parse::Yapp β bestie, it builds Parse::Yapp parsers straight from source π
(it's giving Module...::Yapp(3pm) energy, iykyk)
π VERSION π
version 0.1.2
πΈ SYNOPSIS πΈ
okay so literally just:
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;
periodt π
π¦ DESCRIPTION π¦
So Module::Build::Parse::Yapp is a subclass of Module::Build, and it exists for one iconic reason: building Parse::Yapp parsers from the source. Which means β hear me out β you do not have to ship prebuilt parsers inside your source distribution. Not me finally getting to skip that πβ¨
Here's the vibe check: it goes looking for *.yp files under 'lib', and it produces Perl modules in their place, under 'blib/lib'. So lowkey, a grammar file like lib/A/B/C.yp gets converted into blib/lib/A/B/C.pm, with a package name of A::B::C. Slay π
π SEE ALSO π
π AUTHOR π
Andrius Merkys <merkys@cpan.org>
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2020 by Andrius Merkys.
This is free software, licensed under:
The (three-clause) BSD License
and that's the whole page, bestie π«Ά it's perl v5.36.0, dated 2022-11-29, brought to you by the fine folks at User Contributed Perl Documentation β mwah π go build some parsers fr fr π
π¦ where this page comes from
- debian bookworm: libmodule-build-parse-yapp-perl 0.1.2-4 Β· BSD-3-Clause
- debian trixie: libmodule-build-parse-yapp-perl 0.1.2-4 Β· BSD-3-Clause
- ubuntu noble: libmodule-build-parse-yapp-perl 0.1.2-4 Β· BSD-3-Clause
- ubuntu resolute: libmodule-build-parse-yapp-perl 0.1.2-4 Β· BSD-3-Clause
- ubuntu stonking: libmodule-build-parse-yapp-perl 0.1.2-4 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms