Syntax Diagram - Principle of Syntax Diagrams

Principle of Syntax Diagrams

The representation of a grammar is made of a set of syntax diagrams. Each diagram defines a non-terminal. 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. Terminals are represented by round boxes while nonterminals are represented by square boxes.

Read more about this topic:  Syntax Diagram

Famous quotes containing the words principle of, principle and/or diagrams:

    “The principle of asceticism never was, nor ever can be, consistently pursued by any living creature. Let but one tenth part of the inhabitants of the earth pursue it consistently, and in a day’s time they will have turned it into a Hell.”
    —Jeremy Bentham (1748–1832)

    “We seem to be pariahs alike in the visible and the invisible world, with no foothold anywhere, though by every principle of government and religion we should have an equal place on this planet.”
    —Elizabeth Cady Stanton (1815–1902)

    “Professors could silence me then; they had figures, diagrams, maps, books.... I was learning that books and diagrams can be evil things if they deaden the mind of man and make him blind or cynical before subjection of any kind.”
    —Agnes Smedley (1890–1950)