<s>
Oxygene	B-Language
(	O
formerly	O
known	O
as	O
Chrome	B-Language
)	O
is	O
a	O
programming	O
language	O
developed	O
by	O
RemObjects	O
Software	O
for	O
Microsoft	O
's	O
Common	O
Language	O
Infrastructure	O
,	O
the	O
Java	B-Device
Platform	I-Device
and	O
Cocoa	B-Operating_System
.	O
</s>
<s>
Oxygene	B-Language
is	O
based	O
on	O
Delphi	B-Language
's	O
Object	B-Language
Pascal	I-Language
,	O
but	O
also	O
has	O
influences	O
from	O
C#	B-Application
,	O
Eiffel	B-Language
,	O
Java	B-Language
,	O
F#	B-Operating_System
and	O
other	O
languages	O
.	O
</s>
<s>
Compared	O
to	O
the	O
now	O
deprecated	O
Delphi.NET	B-Language
,	O
Oxygene	B-Language
does	O
not	O
emphasize	O
total	O
backward	O
compatibility	O
,	O
but	O
is	O
designed	O
to	O
be	O
a	O
"	O
reinvention	O
"	O
of	O
the	O
language	O
,	O
be	O
a	O
good	O
citizen	O
on	O
the	O
managed	O
development	O
platforms	O
,	O
and	O
leverage	O
all	O
the	O
features	O
and	O
technologies	O
provided	O
by	O
the	O
.NET	B-Application
and	O
Java	B-Language
runtimes	O
.	O
</s>
<s>
Oxygene	B-Language
is	O
a	O
commercial	O
product	O
and	O
offers	O
full	O
integration	O
into	O
Microsoft	O
's	O
Visual	B-Application
Studio	I-Application
IDE	O
on	O
Windows	O
,	O
as	O
well	O
as	O
its	O
own	O
IDE	O
called	O
Fire	O
for	O
use	O
on	O
macOS	B-Application
.	O
</s>
<s>
Oxygene	B-Language
is	O
one	O
of	O
six	O
languages	O
supported	O
by	O
the	O
underlying	O
Elements	O
Compiler	O
toolchain	O
,	O
next	O
to	O
C#	B-Application
,	O
Swift	B-Application
,	O
Java	B-Language
,	O
Go	B-Application
and	O
Mercury	B-Language
(	O
based	O
on	O
Visual	B-Language
Basic.NET	I-Language
)	O
.	O
</s>
<s>
From	O
2008	O
to	O
2012	O
,	O
RemObjects	O
Software	O
licensed	O
its	O
compiler	O
and	O
IDE	O
technology	O
to	O
Embarcadero	O
to	O
be	O
used	O
in	O
their	O
Embarcadero	B-Language
Prism	I-Language
product	O
.	O
</s>
<s>
Starting	O
in	O
the	O
Fall	O
of	O
2011	O
,	O
Oxygene	B-Language
became	O
available	O
in	O
two	O
separate	O
editions	O
,	O
with	O
the	O
second	O
edition	O
adding	O
support	O
for	O
the	O
Java	B-Language
and	O
Android	O
runtimes	O
.	O
</s>
<s>
Starting	O
with	O
the	O
release	O
of	O
XE4	O
,	O
Embarcadero	B-Language
Prism	I-Language
is	O
no	O
longer	O
part	O
of	O
the	O
RAD	O
Studio	O
SKU	O
.	O
</s>
<s>
Numerous	O
support	O
and	O
upgrade	O
paths	O
for	O
Prism	O
customers	O
exist	O
to	O
migrate	O
to	O
Oxygene	B-Language
.	O
</s>
<s>
As	O
of	O
2016	O
,	O
there	O
is	O
only	O
one	O
edition	O
of	O
Oxygene	B-Language
,	O
which	O
allows	O
development	O
on	O
Windows	O
or	O
macOS	B-Application
,	O
and	O
which	O
can	O
create	O
executables	O
for	O
Windows	O
,	O
Linux	B-Application
,	O
WebAssembly	B-Language
.NET	B-Application
,	O
iOS	O
,	O
Android	O
,	O
Java	B-Language
and	O
macOS	B-Application
.	O
</s>
<s>
The	O
Oxygene	B-Language
language	O
has	O
its	O
origins	O
in	O
Object	B-Language
Pascal	I-Language
in	O
general	O
and	O
Delphi	B-Language
in	O
particular	O
,	O
but	O
was	O
designed	O
to	O
reflect	O
the	O
guidelines	O
of	O
.NET	B-Application
programming	O
and	O
to	O
create	O
fully	O
CLR-compliant	O
assemblies	O
.	O
</s>
<s>
Therefore	O
,	O
some	O
minor	O
language	O
features	O
known	O
from	O
Object	B-Language
Pascal	I-Language
/	O
Delphi	B-Language
have	O
been	O
dropped	O
or	O
revised	O
,	O
while	O
a	O
slew	O
of	O
new	O
and	O
more	O
modern	O
features	O
,	O
such	O
as	O
Generics	O
or	O
Sequences	O
and	O
Queries	O
have	O
been	O
added	O
to	O
the	O
language	O
.	O
</s>
<s>
Oxygene	B-Language
is	O
an	O
object-oriented	B-Language
language	I-Language
,	O
which	O
means	O
it	O
uses	O
classes	O
,	O
which	O
can	O
hold	O
data	O
and	O
execute	O
code	O
,	O
to	O
design	O
programs	O
.	O
</s>
<s>
Oxygene	B-Language
provides	O
language-level	O
support	O
for	O
some	O
features	O
of	O
parallel	O
programming	O
.	O
</s>
<s>
The	O
.NET	B-Application
Framework	I-Application
's	O
ThreadPool	O
class	O
offered	O
a	O
way	O
to	O
efficiently	O
work	O
with	O
several	O
threads	O
.	O
</s>
<s>
The	O
Task	O
Parallel	O
Library	O
(	O
TPL	O
)	O
was	O
introduced	O
in	O
.NET	B-Application
4.0	O
to	O
provide	O
more	O
features	O
for	O
parallel	O
programming	O
.	O
</s>
<s>
Operators	O
can	O
be	O
overloaded	O
in	O
Oxygene	B-Language
using	O
the	O
class	O
operator	O
syntax	O
:	O
</s>
<s>
Note	O
,	O
that	O
for	O
operator	O
overloading	O
each	O
operator	O
has	O
a	O
name	O
,	O
that	O
has	O
to	O
be	O
used	O
in	O
the	O
operator	O
overloading	O
syntax	O
,	O
because	O
for	O
example	O
"	O
+	O
"	O
would	O
not	O
be	O
a	O
valid	O
method	O
name	O
in	O
Oxygene	B-Language
.	O
</s>
<s>
Oxygene	B-Language
does	O
not	O
use	O
"	O
Units	O
"	O
like	O
Delphi	B-Language
does	O
,	O
but	O
uses	O
.NET	B-Application
namespaces	O
to	O
organize	O
and	O
group	O
types	O
.	O
</s>
<s>
Oxygene	B-Language
files	O
are	O
separated	O
into	O
an	O
interface	B-Application
and	O
an	O
implementation	O
section	O
,	O
which	O
is	O
the	O
structure	O
known	O
from	O
Delphi	B-Language
.	O
</s>
<s>
The	O
interface	B-Application
section	O
follows	O
the	O
declaration	O
of	O
the	O
namespace	O
.	O
</s>
<s>
It	O
contains	O
the	O
uses	O
clause	O
,	O
which	O
in	O
Oxygene	B-Language
imports	O
types	O
from	O
other	O
namespaces	O
:	O
</s>
<s>
Unlike	O
in	O
C#	B-Application
,	O
in	O
Oxygene	B-Language
alias	O
names	O
cannot	O
be	O
defined	O
for	O
namespaces	O
,	O
only	O
for	O
single	O
type	O
names	O
(	O
see	O
below	O
)	O
.	O
</s>
<s>
Following	O
the	O
uses	O
clause	O
a	O
file	O
contains	O
type	O
declarations	O
,	O
like	O
they	O
are	O
known	O
from	O
Delphi	B-Language
:	O
</s>
<s>
As	O
in	O
C#	B-Application
,	O
the	O
Main	O
method	O
is	O
the	O
entry	O
point	O
for	O
every	O
program	O
.	O
</s>
<s>
As	O
a	O
.NET	B-Application
language	O
,	O
Oxygene	B-Language
uses	O
the	O
.NET	B-Application
type	O
system	O
:	O
There	O
are	O
value	O
types	O
(	O
like	O
structs	B-Application
)	O
and	O
reference	O
types	O
(	O
like	O
arrays	O
or	O
classes	O
)	O
.	O
</s>
<s>
Although	O
it	O
does	O
not	O
introduce	O
own	O
"	O
pre-defined	O
"	O
types	O
,	O
Oxygene	B-Language
offers	O
more	O
"	O
pascalish	O
"	O
generic	O
names	O
for	O
some	O
of	O
them	O
,	O
so	O
that	O
for	O
example	O
the	O
System.Int32	O
can	O
be	O
used	O
as	O
Integer	O
and	O
Boolean	O
(	O
System.Boolean	O
)	O
,	O
Char	O
(	O
System.Char	O
)	O
,	O
Real	O
(	O
System.Double	O
)	O
join	O
the	O
family	O
of	O
pascal-typenames	O
,	O
too	O
.	O
</s>
<s>
The	O
struct	B-Application
character	O
of	O
these	O
types	O
,	O
which	O
is	O
part	O
of	O
.NET	B-Application
,	O
is	O
fully	O
preserved	O
.	O
</s>
<s>
As	O
in	O
all	O
.NET	B-Application
languages	O
types	O
in	O
Oxygene	B-Language
have	O
a	O
visibility	O
.	O
</s>
<s>
In	O
Oxygene	B-Language
the	O
default	O
visibility	O
is	O
assembly	O
,	O
which	O
is	O
equivalent	O
to	O
the	O
internal	O
visibility	O
in	O
C#	B-Application
.	O
</s>
<s>
An	O
alias	O
name	O
can	O
be	O
defined	O
for	O
types	O
,	O
which	O
can	O
be	O
used	O
locally	O
or	O
in	O
other	O
Oxygene	B-Language
assemblies	O
.	O
</s>
<s>
Records	O
are	O
what	O
.NET	B-Application
structs	B-Application
are	O
called	O
in	O
Oxygene	B-Language
.	O
</s>
<s>
As	O
they	O
're	O
just	O
.NET	B-Application
structs	B-Application
,	O
records	O
can	O
have	O
fields	O
,	O
methods	O
and	O
properties	O
,	O
but	O
do	O
not	O
have	O
inheritance	B-Language
and	O
cannot	O
implement	O
interfaces	O
.	O
</s>
<s>
Interfaces	O
are	O
a	O
very	O
important	O
concept	O
in	O
the	O
.NET	B-Application
world	O
,	O
the	O
framework	O
itself	O
makes	O
heavy	O
use	O
of	O
them	O
.	O
</s>
<s>
Interfaces	O
are	O
the	O
specification	O
of	O
a	O
small	O
set	O
of	O
methods	O
,	O
properties	O
and	O
events	O
a	O
class	O
has	O
to	O
implement	O
when	O
implementing	O
the	O
interface	B-Application
.	O
</s>
<s>
For	O
example	O
,	O
the	O
interface	B-Application
IEnumerablexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1	O
specifies	O
the	O
GetEnumerator	O
method	O
which	O
is	O
used	O
to	O
iterate	O
over	O
sequences	O
.	O
</s>
<s>
Oxygene	B-Language
can	O
create	O
anonymous	O
delegates	O
;	O
for	O
example	O
methods	O
can	O
be	O
passed	O
to	O
the	O
Invoke	O
method	O
of	O
a	O
control	O
without	O
declaring	O
the	O
delegate	O
:	O
</s>
<s>
Oxygene	B-Language
supports	O
polymorphic	O
delegates	O
,	O
which	O
means	O
,	O
that	O
delegates	O
which	O
have	O
parameters	O
of	O
descending	O
types	O
are	O
assignment	O
compatible	O
.	O
</s>
<s>
Fields	O
can	O
be	O
used	O
to	O
delegate	O
the	O
implementation	O
of	O
an	O
interface	B-Application
,	O
if	O
the	O
type	O
they	O
're	O
of	O
implements	O
this	O
interface	B-Application
:	O
</s>
<s>
Anonymous	O
methods	O
are	O
especially	O
useful	O
when	O
working	O
with	O
code	O
that	O
is	O
supposed	O
to	O
be	O
executed	O
in	O
a	O
GUI	B-Application
thread	O
,	O
which	O
is	O
done	O
in	O
.NET	B-Application
by	O
passing	O
a	O
method	O
do	O
the	O
Invoke	O
method	O
(	O
Control.Invoke	O
in	O
WinForms	O
,	O
Dispatcher.Invoke	O
in	O
WPF	O
)	O
:	O
</s>
<s>
Property	O
notification	O
is	O
used	O
mainly	O
for	O
data	O
binding	O
,	O
when	O
the	O
GUI	B-Application
has	O
to	O
know	O
when	O
the	O
value	O
of	O
a	O
property	O
changes	O
.	O
</s>
<s>
The	O
.NET	B-Application
framework	I-Application
provides	O
the	O
interfaces	O
INotifyPropertyChanged	O
and	O
INotifyPropertyChanging	O
(	O
in	O
.NET	B-Application
3.5	O
)	O
for	O
this	O
purpose	O
.	O
</s>
<s>
Oxygene	B-Language
provides	O
the	O
notify	O
modifier	O
,	O
which	O
can	O
be	O
used	O
on	O
properties	O
.	O
</s>
<s>
Since	O
Oxygene	B-Language
does	O
n't	O
compile	O
per-file	O
but	O
per-project	O
,	O
it	O
does	O
not	O
depend	O
on	O
the	O
name	O
of	O
the	O
file	O
.	O
</s>
<s>
Some	O
people	O
would	O
like	O
to	O
port	O
their	O
Win32	O
Delphi	B-Language
code	I-Language
to	O
Oxygene	B-Language
without	O
making	O
major	O
changes	O
.	O
</s>
<s>
This	O
is	O
not	O
possible	O
because	O
while	O
Oxygene	B-Language
looks	O
like	O
Delphi	B-Language
,	O
there	O
are	O
enough	O
changes	O
so	O
as	O
to	O
make	O
it	O
incompatible	O
for	O
a	O
simple	O
recompile	O
.	O
</s>
<s>
While	O
the	O
name	O
gives	O
it	O
the	O
appearance	O
of	O
another	O
version	O
of	O
Delphi	B-Language
,	O
that	O
is	O
not	O
completely	O
true	O
.	O
</s>
<s>
On	O
top	O
of	O
the	O
language	O
difference	O
,	O
the	O
Visual	B-Library
Component	I-Library
Library	I-Library
framework	O
is	O
not	O
available	O
in	O
Oxygene	B-Language
.	O
</s>
<s>
This	O
makes	O
porting	O
even	O
more	O
difficult	O
because	O
classic	O
Delphi	B-Language
code	I-Language
relies	O
heavily	O
on	O
the	O
VCL	O
.	O
</s>
