toLLVM en cours

This commit is contained in:
trochas
2025-04-03 13:08:07 +02:00
parent 8b2f8a6b8f
commit bd7b74461e
4 changed files with 54 additions and 6 deletions

View File

@@ -7,12 +7,12 @@ import TP2.llvm.Interface.*;
public class ProgramLLVM {
static String INDENT = " ";
static String INDENT = " ";
//TODO //TODO
public static record ProgramLLVMImpl(int target ,ArrayList<Integer> declration ,ArrayList<DefineLLVM> fonctions) implements ProgLLVM{
public String prettyprinter(){
String str = "";
str += target + "\n"; //TODO