Generating Syntax Diagrams From EBNFWith AG
Room: BBL room 471
Speaker: Reinier Vis
Title: Generating syntax diagrams from EBNF with AG
Syntax diagrams improve the understandability of a grammar which are
specified in EBNF productions. Drawing syntax diagrams by hand can be a
tedious process. In this presentation, an EBNF to TikZ converter is shown,
which is implemented using the UU attribute grammar system. The EBNF
converter analyzes an EBNF grammars, and automatically generates TikZ
syntax diagrams out of the grammar specifications, which can easily be
included in LaTeX documents.
Special seperators will be introduced to aid the converter, and to
influence the directions or alignment in which the diagrams are drawn.