The Tower Bridge in Sacramento, California GOLD Parser Screenshot
Interactive Grammar Testing
Main
Latest News
Getting Started
Screen Shots
Download
Documentation
Contributors
Contact
About GOLD
How It Works
FAQ
Why Use GOLD?
Comparison
Revision History
Freeware License
More ...
Articles
What is a Parser?
Backus-Naur Form
DFA Lexer
LALR Parsing
Glossary
Links
More ...


One of key features of the Builder Application is the Test Grammar  Window. After the grammar has been successfully compiled by the Builder, the developer can check how Deterministic Finite Automata and LALR algorithms will analyze any number of test cases.

In the screenshot below, a grammar called "Simple" was analyzed. The test string was:

Display "Hello World!"

The following screen shot shows the individual actions performed when parsing the test string. This allows you to interactively see how the test string will be interpreted by the grammar.

 

If the test string is accepted by the parser, the system can generate a graphical parse tree. This can be exported to formatted text.