This program was written during the summer of 1998 while I was a participant of The Computer Research Associations's Distributed Mentor Project. I worked at George Mason University in Fairfax, VA, under the supervision of Dr. Elizabeth White.
Included at this sight are the following:
- Summary - This is the summary of the C counterpart of the Visualization tool, but the concepts are the same except instead of C this version is programmed in Java.
- Example - This link includes a working example of the Visual YACC program written in Java
- Java CUP - link to information and source code
- JLex - link to information and source code
How to use example:
- Click in the text field box in the upper left hand corner of the screen
- Enter a mathematical expression - expressions can only include numbers (0, 1, ... ,9), and the symbols +, -, *, or /
- Click the "enter" button next to the text field box. The expression entered should reappear in the text area box to the right on the screen.
- To view the parsing and have the parse tree and corresponding stack appear on the screen, either click on the "step" button to visualize the parsing in steps, or click the "go" button to complete the parsing and have the entire tree appear on the screen.