« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
XML

Blog::Navigation

GetJava Download Button
Get the Source
Personal Blog

Blog::Referers

Today's Page Hits: 145

Powered by Roller Weblogger.
« Why not JavaScript? | Main | Velocity JSR-223... »
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

Comments:

Post a Comment:

Comments are closed for this entry.
Copyright (C) 2005, A. Sundararajan's Weblog