The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Alien::bison - Find or build bison, the parser generator

VERSION

version 0.22

SYNOPSIS

From a Perl script

use Alien::bison;
use Env qw( @PATH );
unshift @PATH, Alien::bison->bin_dir;
system 'bison', ...;

From alienfile:

use alienfile;

share {
  ..
  requires 'Alien::bison' => 0;
  build [ '%{bison} ...' ];
  ...
};

From Build.PL for Alien::Base::ModuleBuild:

use Alien:Base::ModuleBuild;
my $builder = Module::Build->new(
  ...
  alien_bin_requires => [ 'Alien::bison' ],
  ...
);
$builder->create_build_script;

DESCRIPTION

This package can be used by other CPAN modules that require bison, the GNU Parser generator based on YACC.

HELPERS

bison

%{bison}

Returns the name of the bison command. Usually just bison.

SEE ALSO

Alien
Alien::flex

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.