Since the JVM has built-in goto branching, Jasmin easily implements all goto statements in the Fortran source. Since we now have a scheme to translate Fortran GOTO statements into Java source code, we have not put much emphasis on the Jasmin code generator. However, complex numbers will most likely have to go directly to Jasmin for implementation on the JVM stack. Using the object-oriented methods for complex arithmetic would likely produce unacceptable overhead for large scale numerical problems. Jasmin can be used to translate complex numbers and complex arithmetic operations directly into JVM stack arithmetic.
Access is by index arithmetic, using leading dimensions declared in the Fortran source.
User interface issues have not yet been resolved Certain variables are returned by reference, which has no counterpart in Java. We will certainly be working on optimizations in the future. Translation of GOTO statements is done with a post-translation processing step. First, we use f2java to translate the Fortran code to Java. GOTOs are automatically translated as calls to a dummy class.