5 ms·
I think you mean Inline::Perl5: https://github.com/niner/Inline-Perl5 https://github.com/niner/Inline-Perl5. It doesn't parse Perl 5 and run it inside of Perl 6
by gabriel 10y ago
I think you mean Inline::Perl5: https://github.com/niner/Inline-Perl5 https://github.com/niner/Inline-Perl5. It doesn't parse Perl 5 and run it inside of Perl 6 though, it just runs the Perl 5 interpreter for you from a Perl 6 program and lets you marshall data between the interpreters. It's a legitimate technique.
- raiph 10y ago> lets you marshall data between the interpreters. To be clear, Inline::Perl5 (and the other inlines like Inline::Python) automatically marshal data. And exceptions. And classes (so you can sub-class a Perl 5 or Python etc. class in Perl 6). Etc.
- Ultimatt 10y agoThere is the v5 project implementing Perl 5 targetting nqp to be compiled inline with a Perl 6 program. https://github.com/rakudo-p5/v5 https://github.com/rakudo-p5/v5 The project has mostly stalled since Inline::Perl5 became so effective. v5 had the issue of being unable to easily support binary XS type modules. Which means it could never support CPAN, unlike Inline::Perl5. It was meant for people to be able to copy their high mental cost algo code into a new Perl 6 project without fuss.