Loading...
Please wait, while we are loading the content...
Similar Documents
Metaborg in action: Examples of domain-specific language embedding and assimilation using Stratego/XT (2005)
| Content Provider | CiteSeerX |
|---|---|
| Author | Bravenboer, Martin Groot, René De Visser, Eelco |
| Abstract | General-purpose programming languages provide limited facilities for expressing domain-specific concepts in a natural manner. All domain concepts need to be captured using the same generic syntactic and semantic constructs. Generative programming methods and program transformation techniques can be used to overcome this lack of abstraction in general-purpose languages. In this tutorial we describe the METABORG method for embedding domainspecific languages, tailored syntactically and semantically to the application domain at hand, in a general-purpose language. METABORG is based on Stratego/XT, a language and toolset for the implementation of program transformation systems, which is used for the definition of syntactic embeddings and assimilation of the embedded constructs into the surrounding code. We illustrate METABORG with three examples. JavaSwul is a custom designed language for implementing graphical user-interfaces, which provides high-level abstractions for component composition and event-handling. JavaRegex is a new embedding of regular expression matching and string rewriting. JavaJava is an |
| File Format | |
| Publisher Date | 2005-01-01 |
| Access Restriction | Open |
| Subject Keyword | Limited Facility Syntactic Embeddings General-purpose Programming Language General-purpose Language Graphical User-interfaces Embedded Construct Component Composition Generative Programming Method New Embedding Metaborg Method High-level Abstraction Natural Manner Program Transformation Technique Stratego Xt Domainspecific Language Domain Concept Semantic Construct Domain-specific Concept Program Transformation System Regular Expression Matching Domain-specific Language Embedding Generic Syntactic |
| Content Type | Text |
| Resource Type | Proceeding |