Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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)


Replies are listed 'Best First'.
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 (Bishop) 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 (Chaplain) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2018-02-23 07:36 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (300 votes). Check out past polls.