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