JM° ("Jaymo") - Easy scripting


JM° is a very slim Scripting-Language for the Java-VM.
Due the simple structure, small scripts and simple applications can quickly be implemented.


Hello World!

"Hello World!".print


Concatenation fo functions:

File("demo.txt").lines.each.trim.caseDown.left(3).print


Graphic Swing application:

main = SwingMain.size(400, 300).title("Test")
main.add( SwingLabel("Hello").align(_CENTER) )
main.run
main.run


Voice output:

MaryTTS.say("Hello!")