TU Darmstadt / ULB / TUbiblio

Incremental Concrete Syntax for Embedded Languages

Dinkelaker, Tom and Eichberg, Michael and Mezini, Mira :
Incremental Concrete Syntax for Embedded Languages.
In: Proceedings of the 26th ACM Symposium on Applied Computing Technical Track on Programming Languages (PL at SAC). In: ACM . ACM , New York, NY, USA
[Conference or Workshop Item] , (2011)

Abstract

Embedded domain-specifi�c languages (EDSLs) are known to improve the productivity of developers. However, for many domains no DSL implementation is available. Two important reasons are: First, the e�ort to implement embedded DSLs that provide the domain's established syntax (called concrete syntax ) is very high. Second, the embedded DSL and its underlying general-purpose programming language (GPL) are typically tightly integrated which hampers reusability across di�erent GPLs. In this paper, we present an approach that signi�cantly reduces the necessary e�ort to implement embedded DSLs with concrete syntax. The idea is to use island grammars to specify the EDSL's concrete syntax. This enables the developer to implement the embedded DSL as a library and to incrementally specify the concrete syntax using meta-data. Only those parts of the EDSL's grammar need to be specified �ed that deviate from the grammar of the GPL and which is required to enable the integration with the GPL.

Item Type: Conference or Workshop Item
Erschienen: 2011
Creators: Dinkelaker, Tom and Eichberg, Michael and Mezini, Mira
Title: Incremental Concrete Syntax for Embedded Languages
Language: English
Abstract:

Embedded domain-specifi�c languages (EDSLs) are known to improve the productivity of developers. However, for many domains no DSL implementation is available. Two important reasons are: First, the e�ort to implement embedded DSLs that provide the domain's established syntax (called concrete syntax ) is very high. Second, the embedded DSL and its underlying general-purpose programming language (GPL) are typically tightly integrated which hampers reusability across di�erent GPLs. In this paper, we present an approach that signi�cantly reduces the necessary e�ort to implement embedded DSLs with concrete syntax. The idea is to use island grammars to specify the EDSL's concrete syntax. This enables the developer to implement the embedded DSL as a library and to incrementally specify the concrete syntax using meta-data. Only those parts of the EDSL's grammar need to be specified �ed that deviate from the grammar of the GPL and which is required to enable the integration with the GPL.

Title of Book: Proceedings of the 26th ACM Symposium on Applied Computing Technical Track on Programming Languages (PL at SAC)
Series Name: ACM
Place of Publication: New York, NY, USA
Publisher: ACM
Divisions: Department of Computer Science > Software Technology
Department of Computer Science
Event Title: Proceedings of the 26th ACM Symposium on Applied Computing Technical Track on Programming Languages (PL at SAC)
Date Deposited: 08 Aug 2011 15:05
Related URLs:
Export:

Optionen (nur für Redakteure)

View Item View Item