Syntax diagram: Difference between revisions

Content deleted Content added
m Reverted edits by 203.9.58.2 (talk) to last version by SdkbBot
Principle of syntax diagrams: Dejargonised "nonterminal" - it's more commonly a form of disease
Line 3:
== Principle of syntax diagrams ==
 
The representation of a grammar is a set of syntax diagrams. Each diagram defines a nonterminalstage in a process. There is a main diagram which defines the language in the following way: to belong to the language, a word must describe a path in the main diagram.
 
Each diagram has an entry point and an end point. The diagram describes possible paths between these two points by going through other nonterminals and terminals. Historically, terminals have been represented by round boxes and nonterminals by rectangular boxes but there is no official standard.