Implementing languages other than Java on the Java Virtual Machine
Data(s) |
2000
|
---|---|
Resumo |
The portability and runtime safety of programs which are executed on the Java Virtual Machine (JVM) makes the JVM an attractive target for compilers of languages other than Java. Unfortunately, the JVM was designed with language Java in mind, and lacks many of the primitives required for a straight forward implementation of other languages. Here, we discuss how the JVM may be used to implement other object oriented languages. As a practical example of the possibilities, we report on a comprehensive case study. The open source Gardens Point Component Pascal compiler compiles the entire Component Pascal language, a dialect of Oberon 2, to JVM bytecodes. This compiler achieves runtime efficiencies which are comparable to native code implementations of procedural languages. |
Formato |
application/pdf |
Identificador | |
Relação |
http://eprints.qut.edu.au/30165/1/c30165.pdf Gough, John & Corney, Diane (2000) Implementing languages other than Java on the Java Virtual Machine. |
Direitos |
Copyright 2000 John Gough and Diane Corney |
Fonte |
Faculty of Science and Technology |
Palavras-Chave | #080308 Programming Languages #Java Virtual Machine #compilers #object-oriented languages #Component Pascal |
Tipo |
Report |