Integration of BETA with Eclipse -- An Exercise in Language Interoperability

  • Authors:
  • Ole Lehrmann Madsen;Peter Andersen;Mads Brøgger Enevoldsen

  • Affiliations:
  • Department of Computer Science, University of Aarhus, Åbogade 34, DK-8200 Århus N, Denmark;Department of Computer Science, University of Aarhus, Åbogade 34, DK-8200 Århus N, Denmark;Department of Computer Science, University of Aarhus, Åbogade 34, DK-8200 Århus N, Denmark

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents language interoperability issues appearing in order to implement support for the BETA language in the Java-based Eclipse integrated development environment. One of the challenges is to implement plug-ins in BETA and be able to load them in Eclipse. In order to do this, some form of language interoperability between Java and BETA is required. The first approach is to use the Java Native Interface and use C to bridge between Java and BETA. This results in a workable, but complicated solution. The second approach is to let the BETA compiler generate Java class files. With this approach it is possible to implement plug-ins in BETA and even inherit from Java classes. In the paper the two approaches are described together with part of the mapping from BETA to Java class files.