On Fri, Jun 17, 2011 at 12:02:16PM +0200, Moritz Lenz wrote:
> >Also, if you look at the (pir) code for any compiled script,
> >it becomes clear that it uses some library called "perl6_ops".
> >Does this mean that the file can not be run on a machine
> >where you have installed parrot but have not installed perl6?
> 
> That is correct.
> Just consider the case where your program calls the eval() function
> - it needs the full Perl 6 compiler available. So you need rakudo
> installed to run Perl 6 scripts.

Not only the compiler for eval(), but you need the runtime 
libraries as well for all of the builtin types and functions.
The generated .pir files for a HLL program aren't nearly
sufficient.

By way of analogy, most C programs also require external libraries
to be installed and available before they can run.

Pm

Reply via email to