Extensible Host Language for Domain-Specific Languages

Authors

  • 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

Keywords:

Concept composition, domain-specific language, functional composition, generic syntax, language composition, metaprogramming

Abstract

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.

Downloads

Download data is not yet available.

Downloads

Published

2016-05-31

How to Cite

Chodarev, S., & Kollar, J. (2016). Extensible Host Language for Domain-Specific Languages. COMPUTING AND INFORMATICS, 35(1), 84–110. Retrieved from https://www.cai.sk/ojs/index.php/cai/article/view/1507