<s>
Citrine	B-Language
is	O
a	O
general-purpose	O
programming	O
language	O
for	O
Cross-platform	B-Operating_System
(	O
multi-platform	B-Operating_System
)	O
operating	O
systems	O
.	O
</s>
<s>
The	O
language	O
is	O
heavily	O
inspired	O
by	O
Smalltalk	B-Application
and	O
Self	B-Operating_System
but	O
has	O
some	O
very	O
distinctive	O
features	O
.	O
</s>
<s>
Like	O
Smalltalk	B-Application
,	O
Citrine	B-Language
treats	O
everything	O
as	O
an	O
object	O
and	O
focuses	O
on	O
sending	O
messages	O
to	O
these	O
objects	O
.	O
</s>
<s>
However	O
unlike	O
Smalltalk	B-Application
,	O
Citrine	B-Language
lacks	O
the	O
concept	O
of	O
a	O
class	O
.	O
</s>
<s>
In	O
this	O
regard	O
,	O
Citrine	B-Language
is	O
more	O
like	O
Self	B-Operating_System
and	O
JavaScript	B-Language
because	O
it	O
uses	O
prototypes	B-Application
.	O
</s>
<s>
The	O
combination	O
of	O
Smalltalk	B-Application
like	O
messages	O
and	O
prototypes	B-Application
is	O
what	O
makes	O
Citrine	B-Language
unique	O
.	O
</s>
<s>
As	O
of	O
the	O
0.7	O
version	O
Citrine	B-Language
has	O
focused	O
on	O
supporting	O
native	O
human	O
languages	O
instead	O
of	O
just	O
English	O
to	O
help	O
people	O
reduce	O
the	O
number	O
of	O
bugs	O
because	O
of	O
confusion	O
and	O
misunderstanding	O
due	O
to	O
language	O
barriers	O
.	O
</s>
<s>
As	O
such	O
Citrine	B-Language
0.7	O
and	O
higher	O
feature	O
a	O
translator	O
to	O
translate	O
between	O
human	O
languages	O
.	O
</s>
<s>
Citrine	B-Language
has	O
a	O
very	O
limited	O
syntax	O
and	O
it	O
's	O
very	O
closely	O
related	O
to	O
Smalltalk	B-Application
.	O
</s>
<s>
Everything	O
in	O
Citrine	B-Language
is	O
an	O
object	O
,	O
there	O
are	O
5	O
literals	O
:	O
</s>
<s>
Citrine	B-Language
only	O
supports	O
full-line	O
comments	O
,	O
comments	O
start	O
with	O
a	O
'	O
#	O
 '	O
.	O
</s>
<s>
A	O
Citrine	B-Language
program	O
is	O
basically	O
a	O
sequence	O
of	O
messages	O
sent	O
to	O
objects	O
.	O
</s>
<s>
A	O
binary	O
message	O
is	O
always	O
a	O
single	O
UTF-8	O
character	O
;	O
this	O
differs	O
from	O
Smalltalk	B-Application
,	O
where	O
there	O
is	O
a	O
fixed	O
set	O
of	O
binary	O
messages	O
.	O
</s>
<s>
Also	O
note	O
that	O
each	O
line	O
in	O
a	O
Citrine	B-Language
program	O
ends	O
with	O
a	O
dot	O
,	O
just	O
like	O
in	O
Smalltalk	B-Application
.	O
</s>
<s>
Besides	O
unary	O
and	O
binary	O
messages	O
,	O
Citrine	B-Language
offers	O
keyword	O
messages	O
,	O
which	O
take	O
arguments	O
interspersed	O
with	O
the	O
message	O
itself	O
just	O
like	O
Smalltalk	B-Application
and	O
Objective-C	B-Language
.	O
</s>
<s>
Just	O
like	O
Smalltalk	B-Application
,	O
control	O
flow	O
in	O
Citrine	B-Language
is	O
implemented	O
by	O
strategic	O
use	O
of	O
messages	O
.	O
</s>
<s>
To	O
break	O
out	O
of	O
a	O
loop	O
in	O
Citrine	B-Language
one	O
has	O
to	O
send	O
the	O
message	O
'	O
break	O
 '	O
to	O
a	O
boolean	O
,	O
this	O
allows	O
a	O
conditional	O
break	O
from	O
a	O
loop	O
without	O
having	O
to	O
factor	O
out	O
the	O
break	O
conditions	O
:	O
</s>
<s>
Unlike	O
Smalltalk	B-Application
,	O
Citrine	B-Language
has	O
no	O
semi-colon	O
to	O
send	O
a	O
message	O
to	O
the	O
original	O
receiver	O
.	O
</s>
<s>
Instead	O
Citrine	B-Language
has	O
a	O
comma	O
token	O
'	O
,	O
'	O
used	O
to	O
chain	O
keyword	O
messages	O
,	O
this	O
allows	O
writing	O
Unix-like	O
pipelines	B-Operating_System
.	O
</s>
<s>
The	O
following	O
code	O
uses	O
a	O
pipeline-like	O
syntax	O
to	O
replace	O
all	O
the	O
'	O
o	O
 '	O
characters	O
with	O
zeroes	O
,	O
the	O
resulting	O
string	O
would	O
be	O
something	O
like	O
:	O
'	O
1010101	O
...	O
'	O
.	O
</s>
<s>
The	O
biggest	O
difference	O
from	O
Smalltalk	B-Application
is	O
the	O
use	O
of	O
prototypes	B-Application
.	O
</s>
<s>
Citrine	B-Language
does	O
not	O
have	O
a	O
concept	O
of	O
a	O
class	O
,	O
it	O
only	O
knows	O
about	O
objects	O
.	O
</s>
<s>
adding	O
methods	O
in	O
languages	O
like	O
Java	B-Language
:	O
</s>
<s>
As	O
stated	O
above	O
,	O
inheritance	O
is	O
based	O
on	O
prototypes	B-Application
.	O
</s>
<s>
Citrine	B-Language
uses	O
UTF-8	O
unicode	O
extensively	O
,	O
both	O
objects	O
and	O
messages	O
can	O
consist	O
of	O
unicode	O
symbols	O
.	O
</s>
<s>
Citrine	B-Language
distinguishes	O
string	O
length	O
and	O
size	O
in	O
bytes	O
:	O
</s>
<s>
Citrine	B-Language
uses	O
dynamic	O
scoping	O
instead	O
of	O
lexical	O
scoping	O
.	O
</s>
<s>
Thus	O
,	O
there	O
is	O
no	O
need	O
for	O
dependency	B-Library
injection	I-Library
or	O
global	O
variables	O
,	O
but	O
it	O
might	O
be	O
harder	O
to	O
reason	O
about	O
than	O
lexical	O
scope	O
.	O
</s>
<s>
This	O
is	O
similar	O
in	O
programming	O
languages	O
like	O
Emacs	B-Operating_System
Lisp	I-Operating_System
and	O
BASIC	O
.	O
</s>
