« September 2006 »
SunMonTueWedThuFriSat
     
2
3
6
7
9
10
11
13
15
16
17
20
23
24
28
29
30
       
Today
XML

Blog::Navigation

GetJava Download Button
Get the Source
Personal Blog

Blog::Referers

Today's Page Hits: 435

Powered by Roller Weblogger.
« Previous day (Sep 3, 2006) | Main | Next day (Sep 5, 2006) »
20060905 Tuesday September 05, 2006

Bex script

Came across this: http://bexscript.sourceforge.net/. From the author of the Bex script:

Bex script is a (yet another) scripting language for the Java platform. It is heavily based on another great scripting language BeanShell.

Bex script comes with a JSR-223 script engine for the language (Bex script engine is written in Bex itself!). I did a quick test with a jrunscript session:


jrunscript  -cp bex-1.0.jar -l bex
bex> x = 10
bex> y = 12
bex> x + y
22
bex> square = |x| { x * x}
bex.Block@26d4f1
bex> square(10)
100
bex> System.exit(0)

BTW, I came across this from:


http://machine.homeunix.org/weblog/archives/cat_script_on_java.html

This blog is well compiled and I refer to it regularly for scripting on Java platform news! (Japanese site?)



( Sep 05 2006, 01:10:03 PM IST ) Permalink del.icio.us | furl | simpy | slashdot | technorati | digg

Copyright (C) 2005, A. Sundararajan's Weblog