Sleep 2.1: Java Scripting Language
Join the DZone community and get the full member experience.Join For Free
After 2 years of development, Sleep 2.1 is now released. Sleep is a Java-based scripting language heavily inspired by Perl. Features include first-class functions and continuations, a built-in debugger, taint mode security, and access to the Java class library. Sleep embeds into applications, executes scripts stand-alone, and it supports the Java 6 Scripting Framework.
$ java -jar sleep.jar >> Welcome to the Sleep scripting language > x iff(unpack('i!', pack('i+', 1)) == 1, "big endian", "little endian") big endian
Opinions expressed by DZone contributors are their own.