Jump to content

Parrot Virtual Machine/Parrot Embedding

From Wikibooks, open books for an open world

Embedding Parrot

[edit | edit source]

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 | edit source]

Embedding API

[edit | edit source]

Native Execution

[edit | edit source]

Resources

[edit | edit source]


Previous Parrot Virtual Machine Next
JIT and NCI Extensions