Building code generators for DSLs using a partial evaluator for the Xtend language

8Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

Abstract

For several years now, domain-specific languages (DSLs) are a mainstream tool for establishing model-based development environments in real-world projects. Typical back-end tools for external DSLs are interpreters and code generators. Partial evaluation is a well-known technique for program specialization, with the use case of specializing interpreters to target programs. However, the automatic generation of code generators from a DSL’s interpreter is by no means ubiquitous in industrial DSL projects. In this paper, we show how interpreters for a DSL can be used as a basis for automatic generation of efficient target code. This is possible by implementing a partial evaluator for the mainstream DSL toolset Xtext/Xtend.

Cite

CITATION STYLE

APA

Birken, K. (2014). Building code generators for DSLs using a partial evaluator for the Xtend language. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8802, pp. 407–424). Springer Verlag. https://doi.org/10.1007/978-3-662-45234-9_29

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free