Towards an XML-based Bytecode Level Transformation Framework

  • Authors:
  • Arno Puder;Jessica Lee

  • Affiliations:
  • San Francisco State University, Computer Science Department, 1600 Holloway Avenue, San Francisco, CA 94132;San Francisco State University, Computer Science Department, 1600 Holloway Avenue, San Francisco, CA 94132

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Virtual machines (VMs) facilitate the deployment of applications in heterogeneous environments. Popular VMs such as Sun Microsystem's Java VM or Microsoft's Common Language Runtime (CLR) use a stack-based machine architecture to execute bytecode instructions. The focus of this paper is to explore the ability of XML to serve as a generic framework to represent bytecode instructions from different VMs. With an XML representation, supporting technologies such as XSL stylesheets and XPath expressions can be used to provide various transformations of bytecode instructions. We demonstrate the flexibility and power of this approach by showing examples of cross-compilation for various CLR bytecode instructions to the JVM as well as API mappings of the underlying runtime libraries.