Grammar Editor is a free and easy to use tool for students learning about context-free grammars.
Grammar Editor computes parse trees based on a grammar you define: Just type the grammar into the ``Grammar:'' area, type the sentence you want to parse into the ``Text:'' field, and then click the ``Parse'' button. Grammar Editor computes and displays the parse tree for the text.
Requirements:
· Java 1.4 or later
What's New in This Release: [ read full changelog ]
· Feature: Users may now explicitly signify epsilon productions in a grammar by placing a dash ('-') on the right side. They can still implicitly signify epsilon productions by listing nothing on the right side. (Thus, ``A -> a A |'' and ``A -> a A | -'' mean the same thing.)
· Feature: The parse tree display now explicitly signifies epsilon-productions in the trees, using a half-line terminating in an X.