MATSUNO★Tokuhiro > nana-0.15 > Nana::Translator::Perl

Download:
nana-0.15.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: nana-0.22

NAME ^

Nana::Translator::Perl - AST to Perl

SYNOPSIS ^

    use Nana::Translator::Perl;

    my $compiler = Nana::Translator::Perl->new();
    my $perl = $compiler->compile($ast);
    eval $perl;

DESCRIPTION ^

This class translates tora AST to perl code. And you can eval() the code.

MEHOTDS ^

my $compiler = Nana::Translator::Perl->new()

Create a new instance.

my $perl = $compiler->compile(ArrayRef $ast, Str $filename)

Compile a AST to perl code.

AUTHOR ^

Tokuhiro Matsuno

syntax highlighting: