Parsing System (v0.9)
Goldie Home (v0.9) -> Goldie's Tools -> Other Tools

Other Tools

Here are some tools that are not part of Goldie but may be useful to Goldie users:

GOLD Parser Builder

An excellent freeware tool. Goldie started out as an engine for the GOLD Parsing System. GOLD Parser Builder can be used to create, modify and test languages that can be used with Goldie or any other GOLD-compatible tool.

GOLD Parser Builder features:

  • Grammar editor with syntax highlighting.
  • Grammar-generating wizard. (This was used to help create Goldie's sample calc.grm grammar.)
  • Test window to step through parsing of a sample source.
  • Templating system that can generate lexers/parsers or skeleton programs for various languages.
  • Importing/exporting with YACC/Bison format.
  • Interactive inspection of the compiled DFA and LALR tables.

Many people like the new v5 (which runs on .NET). Personally, I prefer the older v3.4.4 because the editor is much more responsive and the UI uses screen space more efficiently (although it doesn't have syntax highlighting). But any version will work fine with Goldie.

Note, however, that Goldie doesn't yet support the new features added in GOLD v5, such as the .egt file format. Fortunately, these new features are purely optional. If you stick to the older .cgt format, everything will work fine with Goldie.

GOLD Parser Builder is a Windows program and comes in separate GUI and command-line versions. The older v3.4.4 works under Wine, although it can be slow at certain points. I haven't been able to get v4 to work under Mono (although I haven't tried the command-line version, the newer v5, or newer versions of Mono).

Graphviz

Goldie's GRMC: Grammar Compiler can output the lexer's original NFA and resulting DFA in Graphviz's DOT format. These can then be viewed graphically or converted into images using Graphviz (or any other DOT-compatible visualization software). An explanation of how to use Graphviz with Goldie is on the Beginner's Tutorial page.

GOLD Wiki

A public Wiki for GOLD and GOLD-related tools such as Goldie.

Other GOLD-Compatible Engines

GoldieLib is a GOLD-compatible engine for D v2.x. But there many other engines compatible with GOLD and Goldie for a wide variety of languages, since they're fairly easy to write.

Other GOLD-Compatible Tools

More GOLD/Goldie-related tools can be found at the links below. Note that GOLD tools and engines are compatible with Goldie.