Perl virtual machine: Difference between revisions

Content deleted Content added
Undid revision 546321858 by 2A00:5A80:FFFF:1:8C9C:13E4:7A05:762C (talk) redundant
Line 1:
{{Expert-subject|Free Software|date=March 2011}}
The '''Perl virtual machine''' is a [[Stack machine|stack-based]] [[Application virtual machine|process virtual machine]] implemented as an [[opcode]]s [[Interpreter (computing)|interpreter]] which runs previously compiled programs written in the [[Perl]] [[programming language]]. The opcodes interpreter is a part of the Perl interpreter, which also contains a [[compiler]] ([[Lexical analysis|lexer]], [[Parsing|parser]] and [[Compiler optimization|optimizer]]) in one executable file, commonly /usr/bin/perl on various [[Unix-like]] systems or perl.exe on [[Microsoft Windows]] systems.
 
==Implementation==
Line 68:
 
===Other implementations===
There is no standarization for the [[Perl]] [[programming language]] and Perl virtual machine. The internal API should be considered as non-stable and changes from version to version. The Perl virtual machine is tied closely to compiler. These things make very hard to reimplement Perl virtual machine.
 
The most known and most stable implementation is a B::C Perl module<ref>{{cite web | url=http://search.cpan.org/perldoc?B::C | title=B::C - Perl compiler's C backend}}</ref> which translates opcodes tree to representation in C language and adds own tree walker.