
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.

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