<s>
In	O
computer	B-General_Concept
science	I-General_Concept
,	O
a	O
syntax	B-Application
error	I-Application
is	O
an	O
error	O
in	O
the	O
syntax	O
of	O
a	O
sequence	O
of	O
characters	O
or	O
tokens	O
that	O
is	O
intended	O
to	O
be	O
written	O
in	O
a	O
particular	O
programming	O
language	O
.	O
</s>
<s>
For	O
compiled	B-Language
languages	I-Language
,	O
syntax	B-Application
errors	I-Application
are	O
detected	O
at	O
compile-time	B-Language
.	O
</s>
<s>
A	O
program	O
will	O
not	O
compile	B-Language
until	O
all	O
syntax	B-Application
errors	I-Application
are	O
corrected	O
.	O
</s>
<s>
For	O
interpreted	B-Application
languages	I-Application
,	O
however	O
,	O
a	O
syntax	B-Application
error	I-Application
may	O
be	O
detected	O
during	O
program	B-Library
execution	I-Library
,	O
and	O
an	O
interpreter	B-Application
's	O
error	B-Error_Name
messages	I-Error_Name
might	O
not	O
differentiate	O
syntax	B-Application
errors	I-Application
from	O
errors	O
of	O
other	O
kinds	O
.	O
</s>
<s>
There	O
is	O
some	O
disagreement	O
as	O
to	O
just	O
what	O
errors	O
are	O
"	O
syntax	B-Application
errors	I-Application
"	O
.	O
</s>
<s>
For	O
example	O
,	O
some	O
would	O
say	O
that	O
the	O
use	O
of	O
an	O
uninitialized	O
variable	O
's	O
value	O
in	O
Java	B-Language
code	I-Language
is	O
a	O
syntax	B-Application
error	I-Application
,	O
but	O
many	O
others	O
would	O
disagree	O
and	O
would	O
classify	O
this	O
as	O
a	O
(	O
static	O
)	O
semantic	O
error	O
.	O
</s>
<s>
In	O
8-bit	O
home	O
computers	O
that	O
used	O
BASIC	O
interpreter	B-Application
as	O
their	O
primary	O
user	O
interface	O
,	O
the	O
error	B-Error_Name
message	I-Error_Name
became	O
somewhat	O
notorious	O
,	O
as	O
this	O
was	O
the	O
response	O
to	O
any	O
command	O
or	O
user	O
input	O
the	O
interpreter	B-Application
could	O
not	O
parse	O
.	O
</s>
<s>
A	O
syntax	B-Application
error	I-Application
can	O
occur	O
or	O
take	O
place	O
,	O
when	O
an	O
invalid	O
equation	O
is	O
being	O
typed	O
on	O
a	O
calculator	B-Application
.	O
</s>
<s>
In	O
Java	B-Language
the	O
following	O
is	O
a	O
syntactically	O
correct	O
statement	O
:	O
</s>
<s>
However	O
,	O
a	O
variable	O
in	O
Java	B-Language
cannot	O
have	O
a	O
space	O
in	O
between	O
,	O
so	O
the	O
syntactically	O
correct	O
line	O
would	O
be	O
System.out.println(Hello_World )	O
.	O
</s>
<s>
A	O
compiler	B-Language
will	O
flag	O
a	O
syntax	B-Application
error	I-Application
when	O
given	O
source	O
code	O
that	O
does	O
not	O
meet	O
the	O
requirements	O
of	O
the	O
language	O
's	O
grammar	O
.	O
</s>
<s>
Type	O
errors	O
(	O
such	O
as	O
an	O
attempt	O
to	O
apply	O
the	O
++	O
increment	O
operator	O
to	O
a	O
boolean	O
variable	O
in	O
Java	B-Language
)	O
and	O
undeclared	O
variable	O
errors	O
are	O
sometimes	O
considered	O
to	O
be	O
syntax	B-Application
errors	I-Application
when	O
they	O
are	O
detected	O
at	O
compile-time	B-Language
.	O
</s>
<s>
A	O
syntax	B-Application
error	I-Application
is	O
one	O
of	O
several	O
types	O
of	O
errors	O
on	O
calculators	B-Application
(	O
most	O
commonly	O
found	O
on	O
scientific	O
calculators	B-Application
and	O
graphing	B-Application
calculators	I-Application
)	O
,	O
representing	O
that	O
the	O
equation	O
that	O
has	O
been	O
input	O
has	O
incorrect	O
syntax	O
of	O
numbers	O
,	O
operations	O
and	O
so	O
on	O
.	O
</s>
<s>
Using	O
minus	O
sign	O
instead	O
of	O
negative	O
symbol	O
(	O
or	O
vice	O
versa	O
)	O
,	O
which	O
are	O
distinct	O
on	O
most	O
scientific	O
calculators	B-Application
.	O
</s>
<s>
Note	O
that	O
while	O
some	O
scientific	O
calculators	B-Application
allow	O
a	O
minus	O
sign	O
to	O
stand	O
in	O
for	O
a	O
negative	O
symbol	O
,	O
the	O
reverse	O
is	O
less	O
common	O
.	O
</s>
