Abstract
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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.