---
name: "Module::Build::Parse::Yapp"
section: "3pm"
platform: "linux"
package: "libmodule-build-parse-yapp-perl"
version: "0.1.2-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Module::Build::Parse::Yapp"
---

# Module::Build::Parse::Yapp(3pm)

build Parse::Yapp parsers from source

## NAME

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

## VERSION

version 0.1.2

## 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;
```

## 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'**.

## SEE ALSO

[**perl**(1)](/perl/1.md), **Module::Build**(3), [**Parse::Yapp**(3)](/Parse::Yapp/3.md)

## 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
```
