[parrot-tickets] [Parrot] #1868: RFC: deprecate PIR

Andrew Whitworth wknight8111 at gmail.com
Wed Nov 24 02:28:13 UTC 2010


On Tue, Nov 23, 2010 at 5:36 PM, chromatic <chromatic at wgz.org> wrote:
> How do you run a .pir file with ./parrot in such a case?  (If the first
> instruction of the PIR file must be the PIR instruction load_language, how does
> Parrot know to use the PIR compiler to parse that first instruction?)

A PIR front-end, like IMCC for instance, would call the C-level API
calls necessary to register itself as the PIR compiler. libparrot
itself becomes nothing but a bytecode interpreter, it's up to the
various front-ends and embedding applications to attach compilers to
it, if necessary.

--Andrew Whitworth


More information about the parrot-dev mailing list