Glossary
Several publicly available websites were consulted to create the final definitions you see here. Principal among them is Wikipedia.org.
Container
As used by this Railroad Diagram Generator, a Container is an Object that is used to hold other Container or Leaf Objects and display them according to the rules of the specified Container.
Example
In the Diagram Code Diagram(Optional(Terminal("apple")))
, Terminal("apple")
is a Leaf that is inside the Container Optional
.
Leaf
As used by this Railroad Diagram Generator, a Leaf is an Object that holds the final displayed text.
Example
In the Diagram Code Diagram(Optional(Terminal("apple")))
, Terminal("apple")
is the Leaf.
Object
As used by this Railroad Diagram Generator, an Object identifies how its Properties will be presented.
Example
In the Diagram Code Diagram(Optional(Terminal("apple")))
, Terminal("apple")
is the Property of the Object Optional
, which in turn is the Property of the Object Diagram
.
PNG
Portable Network Graphics (PNG) is a raster-graphics file format that supports lossless data compression. PNG was developed as an improved, non-patented replacement for Graphics Interchange Format (GIF).
Property
As used by this Railroad Diagram Generator, a Property is one of the pieces of data provided as input to an Object.
Example
In the Diagram Code Diagram(Optional(Terminal("a")))
, Terminal("a")
is the Property of the Object Optional
, which in turn is the Property of the Object Diagram
.
Railroad Diagram
Railroad diagrams (Syntax diagrams) are a visual way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur form or to EBNF as metalanguages, and may be more readily understood by laypeople. (Full Wikipedia Article)
SVG
Scalable Vector Graphics (SVG) is an XML-based vector image format for defining two-dimensional graphics, having support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium since 1999.