Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

perl on top of jvm

by david2008 (Scribe)
on Feb 26, 2013 at 12:34 UTC ( #1020681=perlquestion: print w/ replies, xml ) Need Help??
david2008 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Do you know something an implementation of perl in a jvm (like jython for python)

Thanks,
David

Comment on perl on top of jvm
Re: perl on top of jvm
by tobyink (Abbot) on Feb 26, 2013 at 13:12 UTC

    Moe is the beginnings of an implementation of Perl 5 on the JVM (written in Scala). By design it's going to diverge from the standard Perl implementation somewhat, though there should ultimately be a common subset of Perl which runs in both.

    The Rakudo implementation of Perl 6 currently runs on top of the Parrot virtual machine, but is in the process of being ported onto the JVM.

    Update: Perlito 6 also has an experimental Perl 6 to Java translator.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
Re: perl on top of jvm
by LanX (Canon) on Feb 26, 2013 at 13:13 UTC
    IMHO only early stage projects like Moe.

    EDIT: Theoretically it should be possible to create JS code with perlito and run it on Rhino.

    Depends what you expect...

    Cheers Rolf

Re: perl on top of jvm
by raiph (Hermit) on Feb 27, 2013 at 23:59 UTC
    I'd appreciate elaboration of what you're interested in. Are you asking because you have a specific need you have to address or due to curiosity about the Perl toolchain or something else?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1020681]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-11-23 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls