资 源 简 介
Context-free grammars are created using an editor. They are then tested interactively using arbitrary text inputs. The GUI visualizes the resulting parse tree as well as the data structures of the Earley algorithm used for the parsing.
Grammars created in the editor can then be loaded into a Java program to create a corresponding parser. The parser returns a syntax tree to enable further input processing.
Since the Earley algorithm is used, a parser can be built from an arbitrary context-free grammar. Terminal symbols can be built either from string literals or from regular expressions incorporated directly into the grammar.