Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I create a stand-alone executable with perl 6?

Tags:

raku

rakudo

The OLD Perl 6 faq said: "Rakudo, a Perl 6 compiler based on Parrot, allows compilation to bytecode, and a small wrapper exists that can pack up a bytecode file and parrot into a single executable."

So, it was possible to create a stand-alone executable, but I can not find any docs explaining how to go about this, or if it's still possible. So, I turn to you. What is the appropriate set of incantations required to convert Perl 6 code into a stand-alone executable that will work on a system that does not have Perl 6 installed.

like image 281
masukomi Avatar asked Jan 07 '16 19:01

masukomi


1 Answers

This is not possible with current Rakudo on MoarVM. There's still some dust that needs to settle regarding module loading and automatic compilation, but once that has happened, I see no reason why this ability couldn't be reintroduced if there is sufficient demand.

like image 62
Christoph Avatar answered Dec 23 '22 16:12

Christoph