Mapping Op Trees

Maki, Eric
December 2007
Perl Review;Winter2007, Vol. 4 Issue 1, p10
Academic Journal
The article considers the Perl computer program language from the perspective of the public introspection interface provided by core Perl modules. Bytecodes, consisting of trees of operations against the Perl stack, are used to compile Perl programs and create many virtual machines. These operations are pop items from the top of the stack, operate on them and push results back on the stack. A compiled Perl program is provided to demonstrate these operations.


Related Articles

  • Parrot Status Report. Duff, Scott // Perl Review;Winter2007, Vol. 4 Issue 1, p7 

    The article discusses the development of the Parrot virtual machine designed for running dynamic languages including Perl, Python and Ruby. It features various software development functions such as just-in-time compilers, lexical variables and basic input-output. Subroutines and other flow...

  • DataBase Interface for Perl.  // Network Dictionary;2007, p136 

    An encyclopedia entry for "DataBase Interface" (DBI) is presented. It is the standard database interface module for Perl programming language, which defines a set of methods, variables and conventions that provide a consistent database interface independent of the actual database being used. It...

  • A Switch for Perl 5.10. Foy, Brian D. // Perl Review;Winter2007, Vol. 4 Issue 1, p31 

    The article describes a computer program for a switch statement in Perl language. The given-switch statement uses smart matching, which Perl 5.10.0 developers can enable with a program featuring a do block. In the program using do blocks, a singular branch in the program statement is used....

  • State Variables in Perl 5.10. Foy, Brian D. // Perl Review;Winter2007, Vol. 4 Issue 1, p20 

    The article describes the state variables included in the Release Candidate 2 (RC2) of Perl 5.10 on Comprehensive PERL Archive Network (CPAN). The use of state variables in C as static variables is detailed, as well as their output. The BEGIN function is used to ensure that lexical variable is...

  • NEW MODULES.  // Perl Review;Winter2007, Vol. 4 Issue 1, p21 

    The article features several modules from developers designed for Perl computer program language. Michael Schilli turned two tar archives into one by using Archive::Tar::Merge. Marcel Grünauer used Carp::Source in showing the code around the line number and file name in Carp modules. Michael...

  • PARSING LOG FILES WITH PERL. Dowling, Thomas // Library Technology Reports;Jan/Feb2003, Vol. 39 Issue 1, p63 

    Focuses on the use of computer language PERL for parsing log files, which are lists of predictably formatted lines of text. Example to show the use of PERL.

  • Perl is Dead, Long Live Perl! Bäcker, Renée // Perl Review;Spring2007, Vol. 3 Issue 2, p7 

    The article reviews the Perl version 5.10.

  • New Modules.  // Perl Review;Spring2006, Vol. 2 Issue 2, p17 

    A list of new modules available at the Comprehensive PERL Archive Network (CPAN) is presented, which include a sudoku puzzle solver, an arithmetic for numbers with associated uncertainties, and an object-oriented Practical Extraction and Report Language (PERL) interface.

  • Named Captures in 5.9.5. Foy, Brian D. // Perl Review;Fall2007, Vol. 4 Issue 0, p30 

    The article evaluates the Perl 5.9.5 programming language.


Read the Article


Sorry, but this item is not currently available from your library.

Try another library?
Sign out of this library

Other Topics