如何使用 perl 6 创建独立的可执行文件?

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

Perl 6 faq 说:"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."

因此,可以创建一个独立的可执行文件,但我找不到 任何 文档解释如何进行此操作,或者是否仍然可行。所以,我转向你。将 Perl 6 代码转换为可在未安装 Perl 6 的系统上运行的独立可执行文件所需的一组适当的咒语是什么。

MoarVM 上的当前 Rakudo 无法做到这一点。关于模块加载和自动编译还有一些尘埃需要解决,但一旦发生,如果有足够的需求,我认为没有理由不能重新引入这种能力。