Mattia Barbon > Language-P > Language::P

Download:
Language-P-0.01_03.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01_03   Source  

NAME ^

Language::P - parsing/compiling Perl5 code using Perl5

SYNOPSYS ^

  my $p = Language::P->new_from_argv
              ( \@ARGV,
                { runtime   => $runtime,
                  generator => $generator,
                  } );

  $p->run;

DESCRIPTION ^

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).

METHODS ^

new_from_argv

  $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.

AUTHOR ^

Mattia Barbon <mbarbon@cpan.org>

LICENSE ^

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

SOURCES ^

The latest sources can be found on GitHub at http://github.com/mbarbon/language-p/tree

syntax highlighting: