Programming languages greatly influence the way how programs are created and evolved. This means that the use of appropriate language for solved problem can greatly increase developer productivity. Composition of languages can provide great help in construction of a new language from existing components and for integration of several languages that may be needed to effectively solve a complex problem. In this paper we analyze the composition problem on the two levels: composition of languages and composition of concepts in a language. Possibilities of transition from language composition to concepts composition are also presented. Based on that, we propose a framework of languages construction based on concept composition that aims to support reusability of language elements and tools. It uses common host syntax for developed languages. Their semantics is defined in a general-purpose language. Proposed approach is demonstrated on example languages developed using prototype implementation.
Publié le : 2016-05-31
Classification:
other areas of Computing and Informatics,
Concept composition, domain-specific language, functional composition, generic syntax, language composition, metaprogramming
@article{cai1507,
author = {Sergej Chodarev; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Ko\v sice and Jan Kollar; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Ko\v sice},
title = {Extensible Host Language for Domain-Specific Languages},
journal = {Computing and Informatics},
volume = {34},
number = {4},
year = {2016},
language = {en},
url = {http://dml.mathdoc.fr/item/cai1507}
}
Sergej Chodarev; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice; Jan Kollar; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice. Extensible Host Language for Domain-Specific Languages. Computing and Informatics, Tome 34 (2016) no. 4, . http://gdmltest.u-ga.fr/item/cai1507/