Sleep is very Perl-like but Perl scripts won't run as Sleep scripts
without a lot of changes. Awhile ago someone did a Masters Thesis on
porting Perl to Java. They concluded that writing a compiler for
Perl that targets Kawa is the best way to go. I wish whoever does
that good luck. Perl is a very complicated language :) Maybe with
Perl 6 there is hope.
http://www.ebb.org/bkuhn/writings/technical/thesis
As for BSF, that is the Bean Scripting Framework. As of Java 1.6
(and available as a third party jar for 1.5), Java has a javax.script
API which is the standard way to allow scripts to integrate cleanly
with Java applications. Sleep supports this standard. BSF is a
relic at this point.
http://svn.berlios.de/viewcvs/*checkout*/sleep/sleep/jsr223/readme-
jsr223.txt
Sleep has its own API that you can use to embed it into an
application. This API came from my own experience integrating Sleep
with the IRC client jIRCii. There are over 60 scripts available for
jIRCii on its homepage. I'm happy to say the integration was
successful at attracting and creating a community. More on this is
available here:
http://sleep.dashnine.org/manual/embed.html
http://jircii.dashnine.org/
Even though Sleep isn't Perl, it still has the same 'get it done'
feel. Good luck.
-- Raphael
I know a full Perl implementation isn't realistic but having a way of
working with our tools that is familiar feeling for Perl guys is always
a good thing. The javax.script hooks are great. Thanks!
-- Eric