You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a branch named rewrite-using-antlr4 where I started to write a Java code using ANTLR4 to do the translation from Fortran to Java. The main entry file is FortranHandlerPrototype.java.
The following steps are needed:
implement methods in FortranListener.java that create an object-oriented AST
implement methods to unparse that AST into Java (possibly including the Dummy class for handling GOTOs for now)
run this on all BLAS methods
use Maven plugin (what's its name again?) to do the bytecode replacements from Dummy.goto() and Dummy.label() into JVM GOTOs
use above mechanics to also translate BLAS test suite
The text was updated successfully, but these errors were encountered:
This repository contains a branch named
rewrite-using-antlr4
where I started to write a Java code using ANTLR4 to do the translation from Fortran to Java. The main entry file isFortranHandlerPrototype.java
.The following steps are needed:
FortranListener.java
that create an object-oriented ASTDummy
class for handlingGOTO
s for now)Dummy.goto()
andDummy.label()
into JVMGOTOs
The text was updated successfully, but these errors were encountered: