toLLVM en cours
This commit is contained in:
@@ -10,11 +10,16 @@ import org.antlr.runtime.RecognitionException;
|
||||
import org.antlr.runtime.Token;
|
||||
|
||||
import TP2.asd.Program.*;
|
||||
import TP2.llvm.Interface.ProgramLLVM;
|
||||
import TP2.llvm.Program.ProgramLLVMImpl;
|
||||
import TP2.llvm.ProgramLLVM;
|
||||
import TP2.llvm.ProgramLLVM.*;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
/*
|
||||
./gradlew build
|
||||
java -jar build/libs/TP2.jar tests/fragment0/priority2.vsl
|
||||
*/
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
@@ -49,6 +54,11 @@ public class Main {
|
||||
// Generate the intermediate representation
|
||||
System.out.println("todo");
|
||||
|
||||
//ProgramLLVMImpl astLLVM = ast.toLLVM();
|
||||
|
||||
//System.out.println("\n\n PRETTYPRINTER : \n--------------\n" + astLLVM.prettyprinter() + "\n--------------\nFIN PRETTYPRINTER");
|
||||
|
||||
|
||||
|
||||
} catch (IOException | RecognitionException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user