Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 (Friar) 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 exploiting the Monastery: (9)
As of 2014-07-29 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls