<s>
Judoscript	B-Application
is	O
a	O
general	O
purpose	O
programming	O
language	O
designed	O
primarily	O
for	O
scripting	B-Language
tasks	O
on	O
the	O
Java	B-Device
platform	I-Device
.	O
</s>
<s>
Judoscript	B-Application
was	O
one	O
of	O
the	O
first	O
so-called	O
Java	B-Language
scripting	I-Language
languages	I-Language
;	O
but	O
its	O
most	O
striking	O
characteristics	O
is	O
its	O
audacious	O
multi-domain	O
support	O
philosophy	O
and	O
practice	O
.	O
</s>
<s>
By	O
the	O
end	O
of	O
2005	O
,	O
Judoscript	B-Application
has	O
completed	O
all	O
the	O
designated	O
application	O
features	O
.	O
</s>
<s>
The	O
situation	O
with	O
Java	B-Language
scripting	I-Language
languages	I-Language
swiftly	O
changed	O
when	O
JavaSoft	O
announced	O
to	O
create	O
its	O
own	O
in	O
2003	O
.	O
</s>
<s>
Judoscript	B-Application
's	O
development	O
was	O
stopped	O
when	O
JavaSoft	O
's	O
own	O
Groovy	B-Application
language	I-Application
was	O
close	O
to	O
be	O
released	O
.	O
</s>
<s>
Huang	O
has	O
worked	O
on	O
a	O
commercial	O
report	O
writer	O
,	O
SQR	B-Application
,	O
which	O
is	O
used	O
extensively	O
in	O
PeopleSoft	O
.	O
</s>
<s>
Technically	O
,	O
SQR	B-Application
is	O
an	O
archane	O
,	O
general	O
purpose	O
scripting	B-Language
language	I-Language
with	O
embedded	B-Language
SQL	I-Language
and	O
reporting	O
directives	O
for	O
producing	O
character-based	O
reports	O
and	O
data	O
manipulation	O
.	O
</s>
<s>
Written	O
in	O
C	O
,	O
it	O
is	O
ported	O
to	O
almost	O
all	O
flavors	O
of	O
major	O
operating	B-General_Concept
systems	I-General_Concept
,	O
and	O
works	O
with	O
all	O
major	O
RDBMS	O
databases	O
.	O
</s>
<s>
With	O
the	O
advent	O
of	O
Java	B-Device
and	O
JDBC	B-Language
,	O
Huang	O
quickly	O
realized	O
that	O
a	O
single	O
version	O
of	O
such	O
software	O
would	O
eliminate	O
the	O
whole	O
array	O
of	O
different	O
ports	O
of	O
SQR	B-Application
.	O
</s>
<s>
This	O
was	O
the	O
seed	O
of	O
the	O
Judoscript	B-Application
idea	O
.	O
</s>
<s>
Even	O
back	O
in	O
the	O
late	O
1990s	O
,	O
embedded	B-Language
SQL	I-Language
was	O
not	O
a	O
new	O
idea	O
;	O
for	O
instance	O
,	O
Oracle	B-Application
's	O
Pro*C	B-Language
did	O
just	O
that	O
.	O
</s>
<s>
Remarkably	O
,	O
embedded	B-Language
SQL	I-Language
is	O
indeed	O
a	O
domain-specific	O
(	O
RDBMS	O
)	O
feature	O
built	O
into	O
a	O
general	O
purpose	O
language	O
.	O
</s>
<s>
Regular	B-Language
expression	I-Language
in	O
Perl	B-Language
is	O
another	O
good	O
example	O
,	O
in	O
the	O
domain	O
of	O
text	O
handling	O
.	O
</s>
<s>
The	O
vision	O
of	O
Judoscript	B-Application
started	O
to	O
take	O
shape	O
,	O
to	O
be	O
a	O
general	O
purpose	O
scripting	B-Language
language	I-Language
with	O
declarative	O
expressiveness	O
for	O
many	O
popular	O
programming	O
domains	O
in	O
a	O
coherent	O
way	O
.	O
</s>
<s>
At	O
the	O
turn	O
of	O
the	O
millennium	O
,	O
the	O
Internet	O
started	O
to	O
permeate	O
our	O
lives	O
,	O
and	O
a	O
growing	O
number	O
of	O
key	O
technologies	O
were	O
becoming	O
widely	O
adopted	O
,	O
therefore	O
,	O
choosing	O
specific	O
domains	O
to	O
support	O
in	O
Judoscript	B-Application
was	O
not	O
too	O
hard	O
a	O
thing	O
.	O
</s>
<s>
The	O
domain-specific	O
features	O
that	O
were	O
embodied	O
in	O
Judoscript	B-Application
's	O
lifetime	O
included	O
JDBC	B-Language
scripting	B-Language
,	O
SAX-style	O
SGML	O
and	O
XML	O
programming	O
,	O
WSDL	O
scripting	B-Language
,	O
Ant	B-Application
scripting	B-Language
,	O
unified	O
file	O
system	O
and	O
archive	O
scripting	B-Language
,	O
Microsoft	O
COM	B-Application
scripting	B-Language
,	O
running	O
native	O
OS	B-General_Concept
executables	O
,	O
send	O
mail	O
,	O
HTTP	O
and	O
SCP	O
scripting	B-Language
,	O
and	O
last	O
but	O
not	O
least	O
,	O
Java	B-Device
scripting	B-Language
.	O
</s>
<s>
Had	O
Judoscript	B-Application
continued	O
to	O
grow	O
,	O
it	O
would	O
foreseeably	O
contain	O
more	O
and	O
more	O
domain-specific	O
support	O
as	O
new	O
technologies	O
become	O
prevalent	O
,	O
such	O
as	O
NoSQL	B-General_Concept
,	O
AI	B-Algorithm
,	O
etc	O
.	O
</s>
<s>
Being	O
a	O
JVM-based	O
scripting	B-Language
language	I-Language
,	O
Judoscript	B-Application
has	O
Java	B-Device
scripting	B-Language
as	O
a	O
first-class	O
citizen	O
.	O
</s>
<s>
Judoscript	B-Application
has	O
pioneered	O
native	O
Ant	B-Application
support	O
,	O
allowing	O
users	O
to	O
tap	O
into	O
the	O
vast	O
pool	O
of	O
utilities	O
in	O
the	O
Ant	B-Application
ecosystem	O
.	O
</s>
<s>
With	O
native	O
scripting	B-Language
capabilities	O
with	O
Java	B-Device
,	O
Ant	B-Application
,	O
WSDL	O
,	O
HTTP	O
,	O
and	O
Microsoft	O
's	O
COM	B-Application
,	O
Judoscript	B-Application
users	O
can	O
readily	O
utilize	O
resources	O
from	O
heterogeneous	O
sources	O
.	O
</s>
<s>
The	O
base	O
language	O
of	O
Judoscript	B-Application
is	O
very	O
much	O
JavaScript	B-Language
plus	O
static	O
class	O
declaration	O
.	O
</s>
<s>
Like	O
any	O
scripting	B-Language
languages	I-Language
,	O
Judoscript	B-Application
has	O
various	O
syntactic	O
sugars	O
,	O
multi-line	O
string	O
literals	O
,	O
XML	O
and	O
regular	B-Language
expression	I-Language
literals	O
,	O
a	O
versatile	O
print	O
statement	O
,	O
etc	O
.	O
</s>
<s>
The	O
initial	O
outlook	O
of	O
Judoscript	B-Application
crystallized	O
and	O
development	O
commenced	O
in	O
late	O
2001	O
;	O
the	O
first	O
version	O
was	O
released	O
in	O
November	O
.	O
</s>
<s>
Judoscript	B-Application
became	O
one	O
of	O
the	O
first	O
general	O
purpose	O
scripting	B-Language
languages	I-Language
designed	O
specifically	O
for	O
use	O
with	O
the	O
Java	B-Device
platform	I-Device
,	O
along	O
with	O
Rhino	B-Language
,	O
BeanShell	B-Language
,	O
Jython	B-Language
,	O
and	O
a	O
few	O
others	O
.	O
</s>
<s>
In	O
2004	O
,	O
Judoscript	B-Application
approached	O
version	O
0.9	O
.	O
</s>
<s>
A	O
key	O
feature	O
missing	O
is	O
the	O
generation	O
of	O
Java	B-Device
bytecode	O
either	O
offline	O
or	O
at	O
runtime	O
,	O
which	O
was	O
considered	O
essential	O
for	O
such	O
a	O
language	O
to	O
reach	O
version	O
1.0	O
.	O
</s>
<s>
For	O
this	O
matter	O
,	O
Huang	O
has	O
invented	O
a	O
Java	B-Device
macro	O
assembly	O
language	O
,	O
Jamaica	O
.	O
</s>
<s>
But	O
this	O
work	O
for	O
Judoscript	B-Application
was	O
never	O
achieved	O
.	O
</s>
<s>
In	O
JavaOne	O
2003	O
,	O
in	O
June	O
,	O
JavaSoft	O
announced	O
its	O
intention	O
to	O
create	O
a	O
wholly-owned	O
scripting	B-Language
language	I-Language
for	O
the	O
Java	B-Device
platform	I-Device
.	O
</s>
<s>
The	O
result	O
was	O
the	O
Groovy	B-Application
language	I-Application
,	O
whose	O
name	O
is	O
apparently	O
a	O
phonetic	O
morphing	O
from	O
"	O
jruby	O
"	O
,	O
with	O
its	O
first	O
version	O
released	O
in	O
2007	O
.	O
</s>
<s>
Its	O
built-in	O
Ant	B-Application
support	O
is	O
suspiciously	O
connected	O
to	O
Judoscript	B-Application
's	O
Ant	B-Application
scripting	B-Language
feature	O
,	O
chronologically	O
speaking	O
.	O
</s>
<s>
When	O
Groovy	B-Application
was	O
about	O
to	O
be	O
unleashed	O
,	O
Judoscript	B-Application
has	O
lost	O
impetus	O
of	O
moving	O
forward	O
.	O
</s>
<s>
By	O
the	O
end	O
of	O
2005	O
,	O
after	O
a	O
mere	O
four	O
years	O
,	O
Judoscript	B-Application
's	O
development	O
was	O
stopped	O
.	O
</s>
<s>
Even	O
so	O
,	O
Judoscript	B-Application
has	O
remained	O
dear	O
to	O
language	O
designers	O
and	O
aficionados	O
,	O
and	O
occupies	O
a	O
place	O
in	O
the	O
programming	O
language	O
history	O
,	O
being	O
the	O
first	O
and	O
possibly	O
the	O
only	O
general	O
purpose	O
language	O
with	O
so	O
many	O
native	O
domain-specific	O
features	O
built-in	O
.	O
</s>
<s>
The	O
design	O
of	O
the	O
Judoscript	B-Application
language	O
blends	O
two	O
distinct	O
flavors	O
.	O
</s>
<s>
First	O
and	O
foremost	O
,	O
it	O
is	O
a	O
general	O
purpose	O
scripting	B-Language
language	I-Language
like	O
any	O
modern	O
programming	O
languages	O
,	O
using	O
dynamic	O
typing	O
and	O
dot	B-Language
notation	I-Language
for	O
accessing	O
object	O
members	O
.	O
</s>
<s>
Supporting	O
both	O
procedural	B-Application
and	O
object-oriented	B-Language
paradigms	O
,	O
it	O
sports	O
static	O
class	O
declaration	O
and	O
inheritance	O
.	O
</s>
<s>
Various	O
syntactic	O
sugars	O
and	O
a	O
versatile	O
print	O
statement	O
typify	O
its	O
scripting	B-Language
language	I-Language
nature	O
.	O
</s>
<s>
Judoscript	B-Application
is	O
fully	O
capable	O
of	O
scripting	B-Language
Java	B-Device
resources	O
.	O
</s>
<s>
Its	O
static	O
typing	O
feature	O
was	O
introduced	O
primarily	O
for	O
invoking	O
overloaded	O
Java	B-Device
methods	O
.	O
</s>
<s>
The	O
second	O
flavor	O
,	O
which	O
distances	O
Judoscript	B-Application
from	O
the	O
rest	O
of	O
the	O
crowd	O
,	O
is	O
its	O
embodiment	O
of	O
a	O
number	O
of	O
native	O
domain-specific	O
statements	O
,	O
each	O
carrying	O
a	O
very	O
different	O
look	O
.	O
</s>
<s>
The	O
Judoscript	B-Application
base	O
language	O
is	O
almost	O
identical	O
to	O
JavaScript	B-Language
for	O
variable	O
and	O
constant	O
declarations	O
,	O
flow	O
control	O
statements	O
,	O
and	O
dot	B-Language
notation	I-Language
for	O
accessing	O
object	O
members	O
.	O
</s>
<s>
Like	O
in	O
JavaScript	B-Language
,	O
functions	O
are	O
also	O
objects	O
and	O
can	O
be	O
passed	O
as	O
values	O
.	O
</s>
<s>
Unlike	O
JavaScript	B-Language
,	O
user-defined	O
classes	O
are	O
declared	O
statically	O
,	O
but	O
the	O
data	O
members	O
are	O
dynamic	O
.	O
</s>
<s>
Judoscript	B-Application
has	O
a	O
!	O
include	O
directive	O
to	O
include	O
other	O
scriptlets	O
.	O
</s>
<s>
This	O
is	O
the	O
only	O
mechanism	O
to	O
share	O
code	O
written	O
in	O
Judoscript	B-Application
.	O
</s>
<s>
The	O
lack	O
of	O
support	O
for	O
Java-like	O
package	O
or	O
module	O
in	O
other	O
languages	O
is	O
intentional	O
,	O
in	O
order	O
to	O
discourage	O
creating	O
libraries	O
written	O
in	O
Judoscript	B-Application
.	O
</s>
<s>
Reusable	O
libraries	O
are	O
encouraged	O
to	O
be	O
written	O
in	O
Java	B-Device
,	O
and	O
let	O
Judoscript	B-Application
(	O
or	O
any	O
Java	B-Language
scripting	I-Language
languages	I-Language
)	O
to	O
use	O
.	O
</s>
<s>
Java	B-Device
scripting	B-Language
is	O
a	O
first-class	O
citizen	O
in	O
Judoscript	B-Application
.	O
</s>
<s>
Listed	O
here	O
are	O
some	O
of	O
the	O
most	O
important	O
Java	B-Device
scripting	B-Language
features	O
.	O
</s>
<s>
The	O
capability	O
to	O
alias	O
Java	B-Device
static	O
methods	O
as	O
Judoscript	B-Application
functions	O
is	O
an	O
important	O
mechanism	O
,	O
responsible	O
for	O
many	O
built-in	O
functions	O
.	O
</s>
<s>
Java	B-Device
classes	O
are	O
also	O
object	O
values	O
,	O
and	O
can	O
be	O
assigned	O
to	O
variables	O
or	O
constants	O
.	O
</s>
<s>
It	O
is	O
possible	O
to	O
define	O
Judoscript	B-Application
classes	O
that	O
extend	O
Java	B-Device
classes	O
or	O
implement	O
Java	B-Device
interfaces	O
.	O
</s>
<s>
Anonymous	O
Java	B-Device
interface	O
adapters	O
can	O
be	O
created	O
and	O
used	O
.	O
</s>
<s>
This	O
part	O
of	O
the	O
language	O
is	O
what	O
makes	O
Judoscript	B-Application
unique	O
.	O
</s>
<s>
JDBC	B-Language
scripting	B-Language
is	O
a	O
central	O
feature	O
of	O
Judoscript	B-Application
,	O
as	O
well	O
as	O
a	O
key	O
motivation	O
for	O
the	O
language	O
itself	O
.	O
</s>
<s>
There	O
are	O
two	O
APIs	O
for	O
processing	O
XML	O
documents	O
:	O
Simple	B-Application
API	I-Application
for	I-Application
XML	I-Application
(	O
or	O
SAX	B-Application
)	O
,	O
and	O
Document	B-General_Concept
Object	I-General_Concept
Model	I-General_Concept
(	O
or	O
DOM	B-General_Concept
)	O
.	O
</s>
<s>
SAX	B-Application
processing	O
scans	O
the	O
whole	O
text	O
as	O
a	O
stream	O
,	O
and	O
fires	O
events	O
for	O
each	O
encountered	O
tag	O
or	O
text	O
segment	O
.	O
</s>
<s>
Judoscript	B-Application
has	O
a	O
cute	O
little	O
statement	O
that	O
makes	O
use	O
of	O
this	O
feature	O
effectively	O
for	O
XML	O
and	O
SGML	O
data	O
.	O
</s>
<s>
Judoscript	B-Application
also	O
supports	O
DOM	B-General_Concept
and	O
XSLT	O
processing	O
of	O
XML	O
documents	O
.	O
</s>
<s>
Apache	B-Application
Ant	I-Application
has	O
been	O
the	O
build	O
system	O
for	O
Java	B-Device
for	O
a	O
long	O
time	O
;	O
companies	O
and	O
developers	O
have	O
been	O
creating	O
many	O
extensions	O
called	O
Tasks	O
,	O
in	O
Ant	B-Application
parlance	O
,	O
and	O
the	O
Ant	B-Application
ecosystem	O
becomes	O
a	O
treasure	O
trove	O
of	O
all	O
kinds	O
of	O
utilities	O
,	O
either	O
general	O
purpose	O
or	O
proprietary	O
.	O
</s>
<s>
Judoscript	B-Application
has	O
included	O
a	O
mechanism	O
to	O
directly	O
invoke	O
any	O
Ant	B-Application
tasks	O
.	O
</s>
<s>
There	O
are	O
ways	O
to	O
run	O
native	O
executables	O
in	O
Judoscript	B-Application
,	O
but	O
you	O
can	O
also	O
resort	O
to	O
Ant	B-Application
scripting	B-Language
,	O
as	O
shown	O
below	O
.	O
</s>
<s>
Judoscript	B-Application
strives	O
to	O
provide	O
a	O
consistent	O
experience	O
dealing	O
with	O
files	O
in	O
both	O
file	O
systems	O
and	O
archives	O
such	O
as	O
ZIP	O
files	O
and	O
TAR	O
balls	O
.	O
</s>
<s>
In	O
the	O
times	O
of	O
Judoscript	B-Application
,	O
the	O
SOAP	B-Application
web	O
service	O
was	O
the	O
industry	O
standard	O
for	O
remote	O
invocations	O
before	O
the	O
RESTful	O
API	O
emerged	O
.	O
</s>
<s>
Judoscript	B-Application
makes	O
it	O
easy	O
to	O
consume	O
SOAP	B-Application
web	O
services	O
.	O
</s>
<s>
Judoscript	B-Application
has	O
all	O
kinds	O
of	O
programming	O
goodies	O
to	O
cover	O
most	O
of	O
the	O
everyday	O
tasks	O
for	O
information	O
workers	O
,	O
such	O
as	O
executing	O
OS	B-General_Concept
native	O
executables	O
,	O
sending	O
E-mails	O
,	O
running	O
scheduled	O
jobs	O
,	O
accessing	O
internet	O
resources	O
via	O
HTTP	O
,	O
SSH	O
,	O
SCP	O
,	O
launching	O
your	O
own	O
HTTP	O
server	O
,	O
etc	O
.	O
</s>
<s>
The	O
Microsoft	O
COM	B-Application
scripting	B-Language
capability	O
opens	O
door	O
to	O
the	O
Microsoft	O
Office	O
documents	O
,	O
using	O
their	O
DOM	B-General_Concept
to	O
access	O
and	O
manipulate	O
data	O
therein	O
,	O
and	O
integrate	O
with	O
other	O
data	O
stores	O
and	O
sources	O
.	O
</s>
<s>
The	O
Judoscript	B-Application
language	O
grammar	O
and	O
its	O
parser	O
are	O
done	O
with	O
the	O
JavaCC	B-Language
tool	O
.	O
</s>
<s>
Other	O
such	O
statements	O
and	O
some	O
syntactic	O
sugars	O
require	O
native	O
methods	O
in	O
the	O
JavaCC	B-Language
grammar	O
file	O
.	O
</s>
