Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Refactoring Perl5 with Lua

by Laurent_R (Canon)
on Oct 26, 2014 at 12:13 UTC ( [id://1105030]=note: print w/replies, xml ) Need Help??


in reply to Refactoring Perl5 with Lua

I can't really comment on your project, but you mentioned Parrot, you might also want to take a look at MoarVM and NQP (note quite Perl), two more recent tools used in the development of Perl 6.

Replies are listed 'Best First'.
Re^2: Refactoring Perl5 with Lua
by Anonymous Monk on Oct 26, 2014 at 21:21 UTC
    But that has nothing to do with what Chromatic wrote. He has been very critical of MoarVM and NQP to my knowledge.
Re^2: Refactoring Perl5 with Lua
by rje (Deacon) on Apr 25, 2015 at 05:13 UTC

    Yes. I've read the old Parrot book, including looking through the intermediate language opcodes, which were pretty fun to read about.

    I think the solution is related to that, to some degree. The language has to handle structures that Perl uses -- maybe PMCs, maybe not -- and it ought to be able to register subs or packages or classes, because it will also have to do what XS does today.

    So it's not Lua's opcode set, that's for sure. But it might borrow some ideas from there.

    Heck, it might end up being some Frankensteinian, functional subset of C library functions, plus Perl's functions, plus a way to register new functions with the core. Or something. I don't know. Still mulling it over.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1105030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-23 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found