Syntax diagram

A syntax diagram is used in theoretical computer science to represent the syntax of a rule set graphically. In particular, formal languages ​​so that can be displayed to the class of context- free languages ​​, and thus due to the subset property, the syntax of programming languages ​​in a syntax diagram.

Implementation of the EBNF in a syntax diagram

Each Extended Backus -Naur Form ( EBNF ) can be converted one by one in a syntax diagram with the help of enclosed translation.

Example

The picture shows the implementation of the definition of the natural numbers from the EBNF in a syntax diagram.

758330
de