首页 | 本学科首页   官方微博 | 高级检索  
     


Language components for modular DSLs using traits
Affiliation:1. Modelling & Software Engineering Research Group, Universidad Autónoma de Madrid, Spain;2. Business Informatics Group CDL-MINT, Business Informatics Group, TU Wien, Austria;1. Ecole nationale Supérieure d’Informatique, BP 68M, 16309, Oued-Smar, Alger, Algérie. http://www.esi.dz;2. LIAS/ISAE-ENSMA, Poitiers University, Futuroscope 86960, France;1. Federal Institute of Maranhão (IFMA), BR 65175-000 Pedreiras, Brazil;2. Laboratory Of Software Technology, Federal University of Piauí, BR 64049-550 Teresina, Brazil;3. Department of Software Engineering, Blekinge Institute of technology, SE 371-49 Karlskrona, Sweden;4. Infoway e-Health Company, Teresina, Brazil;1. Department of Computer Science and Informatics, Universidad de La Frontera (UFRO), Temuco, Chile;2. CEIS-Centro de Estudio en Ingeniería de Software, UFRO, Temuco, Chile;3. Centre de Recherche en Informatique (CRI), Université Panthéon-Sorbonne, Paris, France;4. GiDITIC, Universidad Eafit, Medellín, Colombia
Abstract:Recent advances in tooling and modern programming languages have progressively brought back the practice of developing domain-specific languages as a means to improve software development. Consequently, the problem of making composition between languages easier by emphasizing code reuse and componentized programming is a topic of increasing interest in research. In fact, it is not uncommon for different languages to share common features, and, because in the same project different DSLs may coexist to model concepts from different problem areas, it is interesting to study ways to develop modular, extensible languages. Earlier work has shown that traits can be used to modularize the semantics of a language implementation; a lot of attention is often spent on embedded DSLs; even when external DSLs are discussed, the main focus is on modularizing the semantics. In this paper we will show a complete trait-based approach to modularize not only the semantics but also the syntax of external DSLs, thereby simplifying extension and therefore evolution of a language implementation. We show the benefits of implementing these techniques using the Scala programming language.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号