2 ms·
As I understand it, the "executed optree" is just the parse tree. The building of that tree is the lexing and parsing phase, not compilation. The parse tree is
by scott_s 17y ago
As I understand it, the "executed optree" is just the parse tree. The building of that tree is the lexing and parsing phase, not compilation. The parse tree is never translated into another form - neither an abstract syntax tree, nor another language with the same semantics.
http://en.wikipedia.org/wiki/Parse_tree http://en.wikipedia.org/wiki/Parse_tree
http://en.wikipedia.org/wiki/Abstract_syntax_tree http://en.wikipedia.org/wiki/Abstract_syntax_tree
If the parse tree is never translated to another form, then I think it's fair to say Perl is interpreted, not compiled.