Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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:


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


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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-03-01 10:58 GMT
Find Nodes?
    Voting Booth?

    On my keyboard, Caps lock is:

    Results (468 votes), past polls