<s>
Fantom	B-Language
is	O
a	O
general	O
purpose	O
object-oriented	B-Language
programming	I-Language
language	I-Language
created	O
by	O
Brian	O
and	O
Andy	O
Frank	O
that	O
runs	O
on	O
the	O
Java	B-Language
Runtime	O
Environment	O
(	O
JRE	O
)	O
,	O
JavaScript	B-Language
,	O
and	O
the	O
.NET	O
Common	O
Language	O
Runtime	O
(	O
CLR	O
)	O
(	O
.NET	O
support	O
is	O
considered	O
"	O
prototype	O
"	O
status	O
)	O
.	O
</s>
<s>
Its	O
primary	O
design	O
goal	O
is	O
to	O
provide	O
a	O
standard	O
library	O
API	B-Application
that	O
abstracts	O
away	O
the	O
question	O
of	O
whether	O
the	O
code	O
will	O
ultimately	O
run	O
on	O
the	O
JRE	O
or	O
CLR	O
.	O
</s>
<s>
Like	O
C#	B-Application
and	O
Java	B-Language
,	O
Fantom	B-Language
uses	O
a	O
curly	O
brace	O
syntax	O
.	O
</s>
<s>
The	O
language	O
supports	O
functional	B-Language
programming	I-Language
through	O
closures	O
and	O
concurrency	O
through	O
the	O
Actor	B-Application
model	I-Application
.	O
</s>
<s>
Fantom	B-Language
takes	O
a	O
"	O
middle	O
of	O
the	O
road	O
"	O
approach	O
to	O
its	O
type	O
system	O
,	O
blending	O
aspects	O
of	O
both	O
static	O
and	O
dynamic	O
typing	O
.	O
</s>
<s>
All	O
variables	O
in	O
Fantom	B-Language
are	O
statically	O
typed	O
.	O
</s>
<s>
Fantom	B-Language
does	O
not	O
have	O
generic	B-Language
types	I-Language
,	O
but	O
it	O
does	O
have	O
a	O
set	O
of	O
built-in	O
generic	B-Language
types	I-Language
:	O
List	O
,	O
Map	O
,	O
and	O
Func	O
.	O
</s>
<s>
Fantom	B-Language
can	O
also	O
take	O
on	O
the	O
feel	O
of	O
a	O
dynamically	O
typed	O
language	O
through	O
dynamic	O
calls	O
and	O
automatic	O
downcasting	B-Application
.	O
</s>
<s>
Fantom	B-Language
has	O
a	O
reflection	B-Language
API	I-Language
and	O
metaprogramming	B-Application
capabilities	O
.	O
</s>
<s>
Fantom	B-Language
is	O
open	O
source	O
under	O
the	O
Academic	B-License
Free	I-License
License	I-License
3.0	O
and	O
is	O
available	O
for	O
Windows	O
and	O
Unix-like	O
platforms	O
(	O
including	O
Mac	O
OS	O
X	O
)	O
.	O
</s>
<s>
F4	O
is	O
the	O
main	O
publicly	O
available	O
IDE	O
for	O
the	O
Fantom	B-Language
language	O
,	O
officially	O
supported	O
by	O
one	O
of	O
the	O
main	O
open	O
source	O
contributors	O
to	O
the	O
language	O
-	O
.	O
</s>
<s>
In	O
Fantom	B-Language
,	O
the	O
unit	O
of	O
deployment	O
is	O
called	O
a	O
pod	O
.	O
</s>
<s>
Pods	O
take	O
on	O
the	O
role	O
of	O
namespaces	O
,	O
packages	B-Language
,	O
and	O
modules	B-Architecture
.	O
</s>
<s>
They	O
are	O
stored	O
as	O
.pod	O
files	O
,	O
which	O
are	O
zip	B-General_Concept
files	I-General_Concept
containing	O
the	O
FCode	O
(	O
the	O
Fantom	B-Language
bytecode	O
)	O
,	O
the	O
documentation	O
,	O
and	O
resource	B-Language
files	I-Language
necessary	O
to	O
run	O
the	O
pod	O
.	O
</s>
<s>
The	O
Fantom	B-Language
build	O
system	O
can	O
package	O
a	O
set	O
of	O
Pods	O
into	O
a	O
JAR	B-Language
archive	I-Language
through	O
build::JarDist	O
.	O
</s>
<s>
Fantom	B-Language
ships	O
with	O
a	O
standard	O
windowing	B-Library
toolkit	I-Library
called	O
the	O
Fantom	B-Language
Widget	B-Library
Toolkit	I-Library
,	O
or	O
FWT	O
for	O
short	O
.	O
</s>
<s>
Like	O
Fantom	B-Language
,	O
FWT	O
was	O
designed	O
to	O
be	O
portable	O
across	O
several	O
platforms	O
.	O
</s>
<s>
It	O
is	O
currently	O
implemented	O
on	O
the	O
JVM	O
using	O
the	O
Standard	B-Application
Widget	I-Application
Toolkit	I-Application
as	O
a	O
backend	O
.	O
</s>
<s>
The	O
JavaScript	B-Language
implementation	O
is	O
backed	O
by	O
the	O
canvas	B-Language
element	I-Language
and	O
JavaFX	B-Application
,	O
allowing	O
FWT	O
applications	O
to	O
be	O
run	O
in	O
a	O
web	O
browser	O
.	O
</s>
<s>
There	O
are	O
plans	O
for	O
a	O
CLR	O
implementation	O
using	O
Windows	B-Application
Forms	I-Application
.	O
</s>
<s>
Here	O
is	O
the	O
classic	O
Hello	O
world	O
program	O
written	O
in	O
Fantom	B-Language
:	O
</s>
<s>
This	O
is	O
because	O
Void	O
is	O
a	O
class	O
,	O
not	O
a	O
primitive	O
type	O
in	O
Fantom	B-Language
.	O
</s>
<s>
The	O
original	O
name	O
of	O
the	O
Fantom	B-Language
programming	O
language	O
was	O
Fan	O
,	O
named	O
after	O
the	O
neighborhood	O
where	O
the	O
creators	O
live	O
in	O
Richmond	O
,	O
Virginia	O
.	O
</s>
<s>
In	O
November	O
2009	O
,	O
the	O
name	O
of	O
the	O
project	O
was	O
officially	O
changed	O
from	O
Fan	O
to	O
Fantom	B-Language
.	O
</s>
<s>
Fantom	B-Language
has	O
other	O
useful	O
features	O
:	O
</s>
<s>
Fantom	B-Language
supports	O
imports	O
of	O
Java	B-Language
Classes	O
and	O
modules	B-Architecture
with	O
some	O
limitations	O
.	O
</s>
<s>
Unlike	O
Java	B-Language
and	O
C#	B-Application
,	O
Fantom	B-Language
does	O
not	O
have	O
Long	O
or	O
Short	O
integer	O
types	O
.	O
</s>
<s>
Escape	O
the	O
Mainframe	O
is	O
a	O
browser	O
game	O
(	O
just	O
like	O
the	O
Google	O
t-rex	O
dinosaur	O
)	O
completely	O
written	O
in	O
Fantom	B-Language
by	O
:	O
</s>
