FILES USED IN THIS PROJECT
This is the main applet class. It displays the syntax diagrams for a given language.
This class creates file Grammar.java. It constructs a file containing Java class definitions that instantiates a Diagram for each diagram encountered in the input file.
This file is created by GrammarConverter.java. The Grammar class creates Diagrams in its initialisation routine and adds the diagram created to the vector 'diagramList' for easy access.
Human readable representations of diagrams for a target language contained in ASCII format file.
This class is the base class for all Diagrams.
This class draws a line to specify an empty diagram.
This class creates a simple connector/line between two diagrams.
This class creates the connectors between alternative branches .
This class helps to extend a diagram to its right whenever new components are added.
This class draws the connector for repetitive structures.
This class helps create the looping structures .
This class draws a rectangular box for a nonterminal symbol, using the size of the string to determine the size of the diagram.
This class draws a circular rectangle for a terminal using the size of the string to determine the size of the diagram.
This class helps create a sequence of diagrams to represent one single production of a grammar.
This is a layout manager that helps place components horizontally in the order in which they are added so that all diagrams are lined correctly.
This class places the diagrams in a container so that they are arranged vertically.
This class draws a regular expression on the Panel dictating fontsize size, number of lines for display and number of characters to be displayed per line etc.
This subclass of Panel sets up all the syntax diagrams for the display. This responds to all the mouse events other than closing of the frame and the program. This class is added in order to run the CurryDiagram both as an application and as an applet.
This subclass of Frame is defined to add the MainPanel (GUI) so that it can pulled up as an application. This class handles events like closing o fthe frame and the program.