Parrot Virtual Machine/Parrot Embedding

From Wikibooks, open books for an open world
Jump to: navigation, search

Embedding Parrot[edit]

Because the Parrot Virtual Machine is modular, we can link the libparrot library into other executables, creating programs which contain a Parrot interpreter object. One simple use for such a technology would be to create an executable file which contains data in the form of precompiled bytecode and a simple instantiation of the Parrot interpreter to create a standalone executable for a particular programming language. This is called Native Execution, and we will discuss it in more detail below.

Parrot Interpreter Object[edit]

Embedding API[edit]

Native Execution[edit]

Resources[edit]


Previous Parrot Virtual Machine Next
JIT and NCI Extensions