Cannot find page `Parse::Eyapp' at L<> on line 121
eyapp - A perl frontend to the Parse::Eyapp module
eyapp [options] grammar[.yp]
eyapp -V
eyapp -h
eyapp is a frontend to the Parse::Eyapp module, which lets you compile Parse::Eyapp grammar input files into Perl LALR(1) OO parser modules.
Options, as of today, are all optionals :-)
grammar
.output describing your parser. It will
show you a summary of conflicts, rules, the DFA (Deterministic
Finite Automaton) states and overall usage of the parser.
This file grammar
.output will be also automatically generated
if warnings are issued.
module
. It defaults to grammar
outfile
for your parser module.
It defaults to grammar
.pm or, if you specified the option
-m A::Module::Name (see below), to Name.pm
.
Parse::Eyapp::Output.pm
.
For how to write your own template and which substitutions are available,
have a look to the module Parse::Eyapp::Output.pm
: it should be obvious.
eyapp -b '/usr/local/bin/perl -w' -o myscript.pl myscript.yp
This will output a file called myscript.pl
whose very first line is:
#!/usr/local/bin/perl -w
The argument is mandatory, but if you specify an empty string, the value of $Config{perlpath} will be used instead.
.yp
is tried before exiting.
None known now :-)
Casiano Rodriguez-Leon
(c) Copyright 2006 Casiano Rodriguez-Leon
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Parse::Eyapp Perl(1) yacc(1) bison(1)