Vol: 51(65) No: 4 / December 2006 Creating Concrete Syntax Visually for Domain Specific Languages Gergely Mezei Department of Automation and Applied Informatics, Budapest University of Technology and Economics, Faculty of Electrical Engineering and Informatics, Goldmann Gyorgy ter 3., 1111 Budapest, Hungary, phone: (36) 1- 463-1662, e-mail: gmezei@aut.bme.hu Tihamer Levendovszky Department of Automation and Applied Informatics, Budapest University of Technology and Economics, Faculty of Electrical Engineering and Informatics, Goldmann Gyorgy ter 3., 1111 Budapest, Hungary, e-mail: tihamer@aut.bme.hu Hassan Charaf Department of Automation and Applied Informatics, Budapest University of Technology and Economics, Faculty of Electrical Engineering and Informatics, Goldmann Gyorgy ter 3., 1111 Budapest, Hungary, e-mail: hassan@aut.bme.hu Keywords: metamodeling, concrete syntax, Domain Specific Language, model transformation. Abstract Metamodeling techniques allow creating structural definition for domain-specific languages (DSLs), but the presentation (the concrete syntax) cannot follow this flexibility. The main concern of this paper is to present an overview of a generic and flexible solution to create and maintain presentation for DSLs: Firstly, a domain-specific language is presented, which can specify the presentation of arbitrary DSLs and the standard UML models. Graphical visualization and editing solutions are also discussed. Secondly, a method is elaborated using model transformation, which can be used to transform concrete syntax definitions automatically into source code. An overview of the model transformation, proofs for its termination and a simple case study is also presented. References [1] VMTS Web Site, http://avalon.aut.bme.hu/, 2006. 03. 05. 07:50. [2] Levendovszky, T., Mezei, G., Charaf, H., “A Presentation Framework for Metamodeling Environments”, Workshop in Software Model Engineering, 2005, in press. [3] Lengyel, L., Levendovszky, T., Mezei, G., Charaf, H., “Control Flow Support for Model Transformation Frameworks: An Overview”, MicroCad, 2006. [4] Thuan Thai and Hoang Lam, “.NET Framework Essentials”, O’Reilly, 2003. [5] GME Ledeczi, A., Bakay, A., Maroti, M., Volgyesi, P., Nordstrom, G., Sprinkle, J., Karsai, G., “Composing Domain-Specific Design Environments”, IEEE Computer 34(11), November, 2001, pp. 44-51. [6] Mezei, G., Levendovszky, T., Charaf, H., “A Domain-Specific Language for Visualizing Modeling Languages”, ISIM, 2006, in press. [7] MetaEdit+, http://www.metacase.com/, 2006. 03. 05. 07:51. [8] Minas M,”Specifying Graph-like diagrams with DIAGEN”, Science of Computer Programming 44:157–180, 2002. [9] de Lara, J., Vangheluwe, H.,”AToM3 as a Meta-CaseEnvironment”, International Conference on Enterprise Information Systems, 2002. [10] The Eclipse Modeling Framework Framework http://www.eclipse.org/, 2006. 03. 05. [11] GenGed tfs.cs.tu-berlin.de/~genged/, 2006. 03. 05. 07:52. [12] Erhig, K., Ermel, C., Hansgen, S., Taentzer, G., “Generation of Visual Editors as Eclipse Plug-Ins”, http://www.tfs.cs.tu-berlin.de/~tigerprj/papers/, 2006. 03. 05. 07:52. [13] GMF http://www.eclipse.org/gmf/, 2006. 03. 05. 07:53. [14] Rozenberg, G. (ed.), “Handbook on Graph Grammars and Computing by Graph Transformation: Foundations”, Vol.1 World Scientific, Singapore, 1997. [15] Levendovszky, T., Prange U., Ehrig, “H. Termination Criteria for DPO Transformations with Injective Matches”, GT-VC2006, Under publishing. |