<s>
GOLD	O
is	O
a	O
free	B-Application
parsing	B-Language
system	O
that	O
is	O
designed	O
to	O
support	O
multiple	O
programming	O
languages	O
.	O
</s>
<s>
The	O
system	O
uses	O
a	O
DFA	B-General_Concept
for	O
lexical	O
analysis	O
and	O
the	O
LALR	B-Application
algorithm	O
for	O
parsing	B-Language
.	O
</s>
<s>
GOLD	O
is	O
designed	O
around	O
the	O
principle	O
of	O
logically	O
separating	O
the	O
process	O
of	O
generating	O
the	O
LALR	B-Application
and	O
DFA	B-General_Concept
parse	B-Language
tables	O
from	O
the	O
actual	O
implementation	O
of	O
the	O
parsing	B-Language
algorithms	O
themselves	O
.	O
</s>
<s>
This	O
allows	O
parsers	B-Language
to	O
be	O
implemented	O
in	O
different	O
programming	O
languages	O
while	O
maintaining	O
the	O
same	O
grammars	O
and	O
development	O
process	O
.	O
</s>
<s>
The	O
Builder	O
is	O
used	O
to	O
analyze	O
the	O
syntax	O
of	O
a	O
language	O
(	O
specified	O
as	O
a	O
grammar	O
)	O
and	O
construct	O
LALR	B-Application
and	O
DFA	B-General_Concept
tables	O
.	O
</s>
<s>
This	O
is	O
essentially	O
the	O
same	O
task	O
that	O
is	O
performed	O
by	O
compiler-compilers	O
such	O
as	O
YACC	B-Application
and	O
ANTLR	B-Application
.	O
</s>
<s>
Once	O
the	O
LALR	B-Application
and	O
DFA	B-General_Concept
parse	B-Language
tables	O
are	O
successfully	O
constructed	O
,	O
the	O
Builder	O
can	O
save	O
this	O
data	O
into	O
a	O
Compiled	O
Grammar	O
Table	O
file	O
.	O
</s>
<s>
Currently	O
,	O
the	O
Builder	O
component	O
is	O
only	O
available	O
for	O
Windows	B-Application
32-bit	O
operating	O
systems	O
.	O
</s>
<s>
The	O
Engine	O
implements	O
the	O
LALR	B-Application
and	O
DFA	B-General_Concept
algorithms	O
.	O
</s>
<s>
As	O
a	O
result	O
,	O
an	O
implementation	O
of	O
the	O
Engine	O
written	O
for	O
Visual	B-Language
Basic	I-Language
6	I-Language
will	O
differ	O
greatly	O
from	O
one	O
written	O
for	O
ANSI	O
C	O
.	O
</s>
<s>
GOLD	O
grammars	O
are	O
based	O
directly	O
on	O
Backus	O
–	O
Naur	O
form	O
,	O
regular	B-Language
expressions	I-Language
,	O
and	O
set	O
notation	O
.	O
</s>
<s>
The	O
first	O
step	O
consists	O
of	O
writing	O
and	O
testing	O
a	O
grammar	O
for	O
the	O
language	O
being	O
parsed	B-Language
.	O
</s>
<s>
Once	O
the	O
grammar	O
is	O
complete	O
,	O
it	O
is	O
analyzed	O
by	O
the	O
Builder	O
,	O
the	O
LALR	B-Application
and	O
DFA	B-General_Concept
parse	B-Language
tables	O
are	O
constructed	O
,	O
and	O
any	O
ambiguities	O
or	O
problems	O
with	O
the	O
grammar	O
are	O
reported	O
.	O
</s>
<s>
Afterwards	O
,	O
the	O
tables	O
are	O
saved	O
to	O
a	O
Compiled	O
Grammar	O
Table	O
file	O
to	O
be	O
used	O
later	O
by	O
a	O
parsing	B-Language
engine	O
.	O
</s>
