This paper addresses the graphical representation of Context-Free Grammars (CFG) written in extended Backus- Naur Form (EBNF), using UML class diagrams. These diagrams can help understand the grammar for users who are not familiar with concepts of EBNF grammars. The additional structure afforded by UML could help to clarify how the derived language is constructed and allows learner to build significance relations between the concepts presented. We propose derivation rules of EBNF grammars into UML class diagrams which will be illustrated over an example of a grammar written in EBNF.
Citation:
Fathi Essalmi, Leila Jemni Ben Ayed, "Graphical UML View from Extended Backus-Naur Form Grammars," icalt, pp.544-546, Sixth IEEE International Conference on Advanced Learning Technologies (ICALT'06), 2006