Attribute grammar-based language extensions for java
Eric Van Wyk,Lijesh Krishnan,Derek Bodin,August Schwerdfeger +3 more
- 30 Jul 2007
- pp 575-599
108
TL;DR: The ableJ extensible language framework is described, a tool that allows one to create new domain-adapted languages by importing domain-specific language extensions into an extensible implementation of Java 1.4.
read more
Abstract: This paper describes the ableJ extensible language framework, a tool that allows one to create new domain-adapted languages by importing domain-specific language extensions into an extensible implementation of Java 1.4. Language extensions may define the syntax, semantic analysis, and optimizations of new language constructs. Java and the language extensions are specified as higher-order attribute grammars.We describe several language extensions and their implementation in the framework. For example, one extension embeds the SQL database query language into Java and statically checks for syntax and type errors in SQL queries. The tool supports the modular specification of composable language extensions so that programmers can import into Java the unique set of extensions that they desire. When extensions follow certain restrictions, they can be composed without requiring any implementation-level knowledge of the language extensions. The tools automatically compose the selected extensions and the Java host language specification.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
•Posted Content
MontiCore: a Framework for Compositional Development of Domain Specific Languages
TL;DR: In this article, a framework for the compositional development of domain specific languages (DSLs) and their supporting tools is described, where a redundancy-free definition of a readable concrete syntax and a comprehensible abstract syntax are used.
128
Language-oriented rule-based reaction network generation and analysis: Description of RING
TL;DR: It is demonstrated that RING can be used to postulate mechanisms and predict likely products for a given system, thereby guiding experimentation and computational analysis.
114
Context-aware scanning for parsing extensible languages
Eric Van Wyk,August Schwerdfeger +1 more
- 01 Oct 2007
TL;DR: New parsing and context-aware scanning algorithms in which the scanner uses contextual information to disambiguate lexical syntax are introduced in which domain specific languages can be embedded.
99
Embedding languages without breaking tools
Lukas Renggli,Tudor Gîrba,Oscar Nierstrasz +2 more
- 21 Jun 2010
TL;DR: Helvetia is an extensible system that intercepts the compilation pipeline of the Smalltalk host language to seamlessly integrate language extensions and validate the approach by case studies that demonstrate three fundamentally different ways to extend or adapt the host language syntax and semantics.
Preventing injection attacks with syntax embeddings
Martin Bravenboer,Eelco Dolstra,Eelco Visser +2 more
- 01 Oct 2007
TL;DR: This work describes a more natural style of programming that yields code that is impervious to injections by construction, and automatically generates code that maps the embedded language to constructs in the host language that reconstruct the embedded sentences, adding escaping functions where appropriate.
References
Semantics of context-free languages
TL;DR: The implications of this process when some of the attributes of a string are “synthesized”, i.e., defined solely in terms of attributes of thedescendants of the corresponding nonterminal symbol, while other attributes are ‘inherited’, are examined.
Building domain-specific embedded languages
TL;DR: This position paper will outline several techniques that are believed to lead to the eeective use of the domain-speciic embedded language (DSEL) methodology, and the results of using the functional language Haskell to build DSELs.
564
Polyglot: an extensible compiler framework for Java
Nathaniel Nystrom,Michael R. Clarkson,Andrew C. Myers +2 more
- 07 Apr 2003
TL;DR: This paper focuses on the design choices in Polyglot that are important for making the framework usable and highly extensible.
Higher order attribute grammars
Harald Vogt,S. D. Swierstra,Matthijs F. Kuiper +2 more
- 21 Jun 1989
TL;DR: A relatively simple method is described to derive an evaluation order on the defining attribute occurrences which comprises all possible direct and indirect attribute dependencies.
Related Papers (5)
Harald Vogt,S. D. Swierstra,Matthijs F. Kuiper +2 more
- 21 Jun 1989
Nathaniel Nystrom,Michael R. Clarkson,Andrew C. Myers +2 more
- 07 Apr 2003