Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Refactoring Perl5 with Lua

by rje (Deacon)
on Apr 25, 2015 at 05:13 UTC ( [id://1124643]=note: print w/replies, xml ) Need Help??


in reply to Re: Refactoring Perl5 with Lua
in thread Refactoring Perl5 with Lua

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://1124643]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found