• Home
  • Search
  • Using Java reflection to automate extension language parsing
  • https://doi.org/10.1145/331963.331974Copy DOI Icon

Using Java reflection to automate extension language parsing

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

An extension language is an interpreted programming language designed to be embedded in a domain-specific framework. The addition of domain-specific primitive operations to an embedded extension language transforms that vanilla extension language into a domain-specific language. The LUxWORKS processor simulator and debugger from Lucent uses Tcl as its extension language. After an overview of extension language embedding and LUxWORKS experience, this paper looks at using Java reflection and related mechanisms to solve three limitations in extension language - domain framework interaction. The three limitations are gradual accumulation of ad hoc interface code connecting an extension language to a domain framework, over-coupling of a domain framework to a specific extension language, and inefficient command interpretation. Java reflection consists of a set of programming interfaces through which a software module in a Java system can discover the structure of classes, methods and their associations in the system. Java reflection and a naming convention for primitive domain operations eliminate ad hoc interface code by supporting recursive inspection of a domain command interface and translation of extension language objects into domain objects. Java reflection, name-based dynamic class loading, and a language-neutral extension language abstraction eliminate language over-coupling by transforming the specific extension language into a runtime parameter. Java reflection and command objects eliminate inefficiency by bypassing the extension language interpreter for stereotyped commands. Overall, Java reflection helps to eliminate these limitations by supporting reorganization and elimination of handwritten code, and by streamlining interpretation.

Similar Papers
  • Conference Article
  • Citations7

Using Java reflection to automate extension language parsing

  • Dec 31, 1999
  • Dale Parson
  • Conference Article
  • Citations3

Tool Demonstration: Silver Extensible Compiler Frameworks and Modular Language Extensions for Java and C

  • Sep 01, 2006
  • Eric Wyk +5
  • Conference Article
  • Citations4

Creating and using domain-specific language features

  • Jul 01, 2013
  • Ted Kaminski +1
  • Conference Article
  • Citations8

Adding domain-specific and general purpose language features to Java with the Java language extender

  • Oct 22, 2006
  • Eric Van Wyk +3
  • Book Chapter
  • Citations5

Prototyping Domain Specific Languages as Extensions of a General Purpose Language

  • Jan 01, 2013
  • Andreas Blunk +1
  • Book Chapter
  • Citations66

Attribute Grammar-Based Language Extensions for Java

  • Jan 01, 2007
  • Eric Van Wyk +3
  • Conference Article
  • Citations19

Easy language extension with meta-aspectJ

  • May 28, 2006
  • Shan Shan Huang +1
  • Conference Article
  • Citations8

Composable Language Extensions for Computational Geometry: A Case Study

  • Jan 01, 2007
  • Eric Wyk +1
  • Conference Article
  • Citations41

Language extension and composition with language workbenches

  • Oct 17, 2010
  • Markus Völter +1
  • Conference Article
  • Citations122

Language composition untangled

  • Mar 31, 2012
  • Sebastian Erdweg +2
  • Book Chapter

Reversible Language Extensions and Their Application in Debugging

  • Jan 01, 2013
  • Zoé Drey +3
  • Conference Article
  • Citations10

Detecting Vulnerable Android Inter-App Communication in Dynamically Loaded Code

  • Apr 01, 2019
  • Mohannad Alhanahnah +6
  • Conference Article
  • Citations16

Dynamically linked domain-specific extensions for advice languages

  • Apr 01, 2008
  • Tom Dinkelaker +1
  • Conference Article
  • Citations8

A Model Driven Exception Management Framework for Developing Reliable Software Systems

  • Oct 01, 2006
  • Proceedings - International Enterprise Distributed Object Computing Conference
  • Susan Entwisle +3
  • Research Article
  • Citations1

Models and tools for supporting sustainability assessment in Systems Engineering

  • Jul 15, 2025
  • Integrated Computer-Aided Engineering
  • Vincent Hilaire +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.