Parrot Virtual Machine
From Wikibooks, the open-content textbooks collection
[edit] Preface
The Parrot Virtual Machine is a runtime engine for use with dynamic programming languages such as Perl, Python, and PHP. While originally designed for use with version 6 of the Perl programming language, it has expanded to a general-purpose dynamic virtual machine. Parrot has been designed, in part, for ease of use by programmers and language designers. A series of tools called the Parrot Compiler Tools (PCT) have been designed that facilitate the creation of new languages for Parrot. Because of these tools creating new dynamic programming languages or implementing old languages on Parrot has become a relatively easy task. This book is going to introduce the reader to the Parrot Virtual Machine and the Parrot programming environment. We will discuss the creation of programs in the PIR and PASM languages and we will also discuss how to create new languages that compile to the Parrot platform. |
[edit] Table of Contents
[edit] Introduction To Parrot
[edit] Programming For Parrot
- Parrot Programming
- Parrot Assembly Language
- Parrot Intermediate Representation
- Parrot Magic Cookies
- Multithreading and Concurrency
- Exception Handling
- Classes and Objects
- The Parrot Debugger
[edit] Parrot Compiler Tools
- Parrot Compiler Tools
- Parrot Grammar Engine
- Not Quite Perl
- Optables and Expressions
- Advanced PGE
- Building A Compiler
[edit] Parrot Hacking
- Parrot Internals
- PASM and PIR Parsers And Interpreter
- Bytecode Compiler and Optimizer
- Run Core
- PMC System
- Memory and Garbage Collection
- IO Subsystem
- JIT Compiler and NCI
- Event Subsystem
- Parrot Embedding
- Extensions
[edit] Appendices
- PIR Reference
- PASM Reference
- PAST Node Reference
- Languages on Parrot
- HLLCompiler Class
- Command Line Options
- Built-In PMCs
- Bytecode File Format

