Abstract
Popularity of domain-specific languages brings the problem of language components reuse. It should be possible to use parts of different languages in development of new one to lower costs and also allow incremental development. This problem could be solved using the composition of languages. In this paper we discuss the view of language composition from the perspective of concepts composition, where the role of concrete syntax is lowered. We present examples of language composition based on the principles of object composition implemented using YAJCo parser generator, that allows to specify the language based on its abstract syntax.
Similar content being viewed by others
References
M. Mernik, J. Heering, A.M. Sloane, When and how to develop domain-specific languages, ACM Comput. Surv. 37(4), 316–344, 2005
T. Kosar, N. Oliveira, M. Mernik, M.J.V. Pereira, M. Crepinšek, D. da Cruz, P.R. Henriques, Comparing General-Purpose and Domain-Specific Languages: An Empirical Study, Comput. Sci. Inform. Syst. 7(2), 247–264, 2010
M. Mernik, V. Žumer, Incremental programming language development, Comput. Languages Syst. Struct. 31(1), 1–16, 2005
H. Krahn, B. Rumpe, S. Völkel, Monticore: Modular development of textual domain specific languages, In: Objects, Components, Models and Patterns, R.F. Paige, B. Meyer, W. Aalst, J. Mylopoulos, M. Rosemann, M.J. Shaw, C. Szyperski (Eds.), vol. 11 of Lecture Notes in Business Information Processing (Springer, Berlin, Heidelberg, 2008) 297–315
M. Voelter, E. Visser, Language extension and composition with language workbenches, In: Proceedings of the ACM international conference companion on Object oriented programming systems languages and applications companion (ACM, New York, NY, USA, 2010) 301–304
S. Erdweg, P.G. Giarrusso, T. Rendel, Language composition untangled, In: Proceedings of the Twelfth Workshop on Language Descriptions, Tools, and Applications (ACM, New York, NY, USA, 2012) 1–8
M. Mernik, An object-oriented approach to language compositions for software language engineering, J. Syst. Software 86(9), 2451–2464, 2013
J. Greenfield, K. Short, S. Cook, S. Kent, Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools (Wiley, Indianapolis, IN, USA, 2004)
S. Chodarev, J. Kollár, Extensible host language for domain-specific languages, Computing and Informatics (in press)
J. Porubän, M. Forgác, M. Sabo, M. Behálek, Annotation based parser generator, Comput. Sci. Inform. Syst. 7(2), 291–307, 2010
J. Porubän, M. Sabo, J. Kollár, M. Mernik, Abstract syntax driven language development: defining language semantics through aspects, In: Proceedings of the International Workshop on Formalization of Modeling Languages (ACM, New York, NY, USA, 2010) 1–5
D. Lakatoš, J. Porubän, Patterns for composition of domain-specific languages, J. Comput. Sci. Control Systems 6(1), 62–66, 2013
S. Dmitriev, Language oriented programming: The next programming paradigm, November 2004, http://www.jetbrains.com/mps/docs/Language_Oriented_Programming.pdf
Author information
Authors and Affiliations
Corresponding author
About this article
Cite this article
Chodarev, S., Lakatoš, D., Porubän, J. et al. Abstract syntax driven approach for language composition. centr.eur.j.comp.sci. 4, 107–117 (2014). https://doi.org/10.2478/s13537-014-0211-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.2478/s13537-014-0211-8