There is also a page that contrasts GOLD and the classic, and still used,
compiler-compiler called YACC. If you are studying parsing technology and compiler design,
you, no doubt, have come across it.
GOLD vs. YACC
The following is propaganda a comparison :-) chart between GOLD and
other parsing systems.
Comparison Chart |
Feature |
GOLD |
ANTLR |
Grammatica |
Spirit |
YACC / Bison |
License |
Free |
Free |
Free |
Free |
Free |
Parsing Algorithm |
LALR |
LL |
LL(1) |
LALR |
LALR |
Grammar Notation |
BNF |
EBNF |
EBNF |
EBNF |
BNF |
Grammar / Code |
Independent |
Mixed |
Mixed |
Mixed |
Mixed |
Parser Source Code |
|
|
|
|
|
Create Skeleton Programs |
|
|
|
|
|
Integrated Design Environment |
GOLD |
ANTLR(2) |
Grammatica |
Spirit |
YACC / Bison |
Integrated Testing |
|
|
|
|
|
State Browsing |
|
|
|
|
|
Generate Webpages |
|
|
|
|
|
Export to XML |
|
|
|
|
|
Export to Formatted Text |
|
|
|
|
|
Supported Languages |
GOLD |
ANTLR |
Grammatica |
Spirit |
YACC / Bison |
ANSI C |
|
|
|
|
|
Assembly - Intel x86 |
|
|
|
|
|
C++ |
|
|
|
|
|
C# |
|
|
|
|
|
Delphi 5 & 6 |
|
|
|
|
|
DigitalMars D |
|
|
|
|
|
Java |
|
|
|
|
|
Pascal |
|
|
|
|
|
Python |
|
|
|
|
|
Visual Basic 6 |
|
|
|
|
|
Visual Basic .NET |
|
|
|
|
|
All Other .NET Languages (3) |
|
|
|
|
|
All Other ActiveX Languages (4) |
|
|
|
|
|
(1) |
Grammatica only supports LL for now. However, the website claims that
they may support LR in the future. |
(2) |
ANTLR has a IDE called ANTLRWorks. I haven't had a chance to use it, but
it seems like a great product. |
(3) |
Some Engines are compiled to a .NET module. This allows the componant to
be used with any IDE that supports .NET. |
(4) |
Some Engines are compiled to an ActiveX / COM plugin. This allows
the componant to be used with any IDE that supports ActiveX / COM. |
|