Domain specific languages with graphical and textual views
Abstract:
We show our approach for the definition of Domain Specific Languages integrating both graphical and textual views. The approach is based on the meta-modelling concepts provided by the AToM3 tool. In this way, the language designer starts building the meta-model of the complete language. Then, he can select (possibly overlapping) submodels of the meta-model to define the different diagram types (i.e. language viewpoints). By default, the viewpoint is assigned a graphical concrete syntax, although a textual one can also be given. This is performed by selecting (or creating) triple graph grammar rules to translate from the viewpoint meta-model to a DSL called Textual that contains the most common elements of textual languages (such as expressions or operators). From a Textual model, a parser is automatically generated, where the semantic actions of the EBNF grammar are graph grammar rules, derived from the viewpoint meta-model. In this way, the parsing results in a model conformant to the viewpoint meta-model, which can be seamlessly integrated with other graphical and textual views. © 2008 Springer Berlin Heidelberg.
Año de publicación:
2008
Keywords:
Fuente:
Tipo de documento:
Conference Object
Estado:
Acceso restringido
Áreas de conocimiento:
- Ingeniería de software
- Ciencias de la computación
Áreas temáticas:
- Programación informática, programas, datos, seguridad