< Parrot Virtual Machine
Embedding Parrot
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
Embedding API
Native Execution
Resources
- http://www.parrotcode.org/docs/pdd/pdd10_embedding.html
- http://www.parrotcode.org/docs/native_exec.html
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.