Language::P - parsing/compiling Perl5 code using Perl5
my $p = Language::P->new_from_argv ( \@ARGV, { runtime => $runtime, generator => $generator, } ); $p->run;
An experiment: a Perl 5 parser written in Perl 5, which might in time have multiple backends. For now it only has a partial parser implementation and a toy runtime written in Perl 5.
Time permitting it will acquire a Parrot (and Java and .Net and ... runtime).
$p = Language::P->new_from_argv( \@ARGV, { generator => $code_generator, runtime => $runtime, } );
Constructs a Language::P object, initializes it calling initialize passing the second argument, processes command-line arguments ten uses anything remaining in the command line as a program name and its arguments.
Language::P
initialize
Mattia Barbon <mbarbon@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The latest sources can be found on GitHub at http://github.com/mbarbon/language-p/tree
To install Language::P, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::P
CPAN shell
perl -MCPAN -e shell install Language::P
For more information on module installation, please visit the detailed CPAN module installation guide.