<s>
Gosu	B-Application
is	O
a	O
statically	O
typed	O
general-purpose	B-Language
programming	I-Language
language	I-Language
that	O
runs	O
on	O
the	O
Java	B-Language
Virtual	I-Language
Machine	I-Language
.	O
</s>
<s>
Its	O
influences	O
include	O
Java	B-Language
,	O
C#	B-Application
,	O
and	O
ECMAScript	B-Language
.	O
</s>
<s>
Development	O
of	O
Gosu	B-Application
began	O
in	O
2002	O
internally	O
for	O
Guidewire	O
Software	O
,	O
and	O
the	O
language	O
saw	O
its	O
first	O
community	O
release	O
in	O
2010	O
under	O
the	O
Apache	B-Application
2	I-Application
license	I-Application
.	O
</s>
<s>
Gosu	B-Application
can	O
serve	O
as	O
a	O
scripting	O
language	O
,	O
having	O
free-form	O
Program	O
types	O
(	O
.gsp	O
files	O
)	O
for	O
scripting	O
as	O
well	O
as	O
statically	O
verified	O
Template	O
files	O
(	O
.gst	O
files	O
)	O
.	O
</s>
<s>
Gosu	B-Application
can	O
optionally	O
execute	O
these	O
and	O
all	O
other	O
types	O
directly	O
from	O
source	O
without	O
precompilation	O
,	O
which	O
also	O
distinguishes	O
it	O
from	O
other	O
static	O
languages	O
.	O
</s>
<s>
Gosu	B-Application
began	O
in	O
2002	O
as	O
a	O
scripting	O
language	O
called	O
GScript	O
at	O
Guidewire	O
Software	O
.	O
</s>
<s>
It	O
has	O
been	O
described	O
as	O
a	O
Java	B-Language
variant	O
that	O
attempts	O
to	O
make	O
useful	O
improvements	O
while	O
retaining	O
the	O
fundamental	O
utility	O
and	O
compatibility	O
with	O
Java	B-Language
.	O
</s>
<s>
It	O
was	O
used	O
to	O
configure	O
business	B-Architecture
logic	I-Architecture
in	O
Guidewire	O
's	O
applications	O
and	O
was	O
more	O
of	O
a	O
simple	O
rule	O
definition	O
language	O
.	O
</s>
<s>
In	O
its	O
original	O
incarnation	O
it	O
followed	O
ECMAScript	B-Language
guidelines	O
.	O
</s>
<s>
Guidewire	O
enhanced	O
the	O
scripting	O
language	O
over	O
the	O
next	O
8	O
years	O
,	O
and	O
released	O
Gosu	B-Application
0.7	O
beta	O
to	O
the	O
community	O
in	O
November	O
2010	O
.	O
</s>
<s>
The	O
0.8	O
beta	O
was	O
released	O
in	O
December	O
2010	O
,	O
and	O
0.8.6	O
beta	O
was	O
released	O
in	O
mid-2011	O
with	O
additional	O
typeloaders	O
,	O
making	O
Gosu	B-Application
capable	O
of	O
loading	O
XML	O
schema	O
definition	O
files	O
and	O
XML	O
documents	O
as	O
native	O
Gosu	B-Application
types	O
.	O
</s>
<s>
Guidewire	O
continues	O
to	O
support	O
and	O
use	O
Gosu	B-Application
extensively	O
within	O
InsuranceSuite	O
applications	O
.	O
</s>
<s>
Guidewire	O
has	O
decided	O
to	O
freeze	O
the	O
development	O
of	O
new	O
Gosu	B-Application
programming	O
language	O
constructs	O
at	O
this	O
time	O
.	O
</s>
<s>
Guidewire	O
continues	O
to	O
evolve	O
InsuranceSuite	O
through	O
RESTful	O
APIs	O
and	O
Integration	O
Frameworks	O
that	O
can	O
be	O
accessed	O
using	O
Java	B-Language
.	O
</s>
<s>
Gosu	B-Application
language	O
creator	O
and	O
development	O
lead	O
,	O
Scott	O
McKinney	O
,	O
emphasizes	O
pragmatism	O
,	O
found	O
in	O
readability	O
and	O
discoverability	O
,	O
as	O
the	O
overriding	O
principle	O
that	O
guides	O
the	O
language	O
's	O
design	O
.	O
</s>
<s>
For	O
instance	O
,	O
Gosu	B-Application
's	O
rich	O
static	O
type	O
system	O
is	O
a	O
necessary	O
ingredient	O
toward	O
best	O
of	O
breed	O
tooling	O
via	O
static	O
program	O
analysis	O
,	O
rich	O
parser	O
feedback	O
,	O
code	O
completion	O
,	O
deterministic	O
refactoring	O
,	O
usage	O
analysis	O
,	O
navigation	O
,	O
and	O
the	O
like	O
.	O
</s>
<s>
Gosu	B-Application
follows	O
a	O
syntax	O
resembling	O
a	O
combination	O
of	O
other	O
languages	O
.	O
</s>
<s>
For	O
instance	O
,	O
declarations	O
follow	O
more	O
along	O
the	O
lines	O
of	O
Pascal	B-Application
with	O
name-first	O
grammar	O
.	O
</s>
<s>
Gosu	B-Application
classes	O
can	O
have	O
functions	O
,	O
fields	O
,	O
properties	O
,	O
and	O
inner	O
classes	O
as	O
members	O
.	O
</s>
<s>
Nominal	O
inheritance	O
and	O
composition	O
via	O
delegation	B-Application
are	O
built	O
into	O
the	O
type	O
system	O
as	O
well	O
as	O
structural	O
typing	O
similar	O
to	O
the	O
Go	B-Application
programming	I-Application
language	I-Application
.	O
</s>
<s>
Gosu	B-Application
supports	O
several	O
file	O
types	O
:	O
</s>
<s>
In	O
addition	O
to	O
standard	O
class	O
types	O
Gosu	B-Application
supports	O
enums	O
,	O
interfaces	O
,	O
structures	O
,	O
and	O
annotations	O
.	O
</s>
<s>
Program	O
files	O
facilitate	O
Gosu	B-Application
as	O
a	O
scripting	O
language	O
.	O
</s>
<s>
For	O
example	O
,	O
Gosu	B-Application
's	O
Hello	O
,	O
World	O
!	O
</s>
<s>
Gosu	B-Application
classes	O
are	O
also	O
executable	O
a	O
la	O
Java	B-Language
:	O
</s>
<s>
A	O
unique	O
feature	O
of	O
Gosu	B-Application
is	O
its	O
Open	O
Type	O
System	O
,	O
which	O
allows	O
the	O
language	O
to	O
be	O
easily	O
extended	O
to	O
provide	O
compile-time	O
checking	O
and	O
IDE	O
awareness	O
of	O
information	O
that	O
is	O
typically	O
checked	O
only	O
at	O
runtime	O
in	O
most	O
other	O
languages	O
.	O
</s>
<s>
Enhancements	O
let	O
you	O
add	O
additional	O
functions	O
and	O
properties	O
to	O
other	O
types	O
,	O
including	O
built-in	O
Java	B-Language
types	O
such	O
as	O
String	O
,	O
List	O
,	O
etc	O
.	O
</s>
<s>
This	O
example	O
demonstrates	O
adding	O
a	O
print( )	O
function	O
to	O
java.lang.String.Now	O
you	O
can	O
tell	O
a	O
String	O
to	O
print	O
itself:The	O
combination	O
of	O
closures	B-Language
and	O
enhancements	O
provide	O
a	O
powerful	O
way	O
of	O
coding	O
with	O
Collections	O
.	O
</s>
<s>
The	O
overhead	O
of	O
Java	B-Language
streams	O
is	O
unnecessary	O
with	O
Gosu	B-Application
:	O
</s>
<s>
This	O
general-purpose	B-Language
programming	I-Language
language	I-Language
is	O
used	O
primarily	O
in	O
Guidewire	O
Software	O
's	O
commercial	O
products	O
.	O
</s>
