Attribute Grammar-based Language Extensions for Java
Published Date
Publisher
Type
Abstract
This paper describes the Java Language Extender 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 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.
Keywords
Description
Associated research group: Minnesota Extensible Language Tools
Related to
item.page.replaces
License
Series/Report Number
Funding Information
item.page.isbn
DOI identifier
Previously Published Citation
In Proceedings of European Conference on Object Oriented Programming (ECOOP)
Other identifiers
Suggested Citation
Van Wyk, Eric; Krishnan, Lijesh; Schwerdfeger, August; Bodin, Derek. (2007). Attribute Grammar-based Language Extensions for Java. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/217317.
Content distributed via the University Digital Conservancy may be subject to additional license and use restrictions applied by the depositor. By using these files, users agree to the Terms of Use. Materials in the UDC may contain content that is disturbing and/or harmful. For more information, please see our statement on harmful content in digital repositories.
