Tests, Structure, More #10

Merged
i22005 merged 15 commits from Tests into main 2024-06-21 16:16:54 +00:00
3 changed files with 7 additions and 12 deletions
Showing only changes of commit 5a28d88f6a - Show all commits

View File

@ -66,19 +66,14 @@ public class Main {
printAST(abstractSyntaxTree, 0);
System.out.println();
/*
* ------------------------- Semantic Analyzer -> Tast -------------------------
*/
/*------------------------- Semantic Analyzer -> Tast -------------------------*/
SemanticAnalyzer.generateTast(abstractSyntaxTree);
ProgramNode typedAst = (ProgramNode) SemanticAnalyzer.generateTast(abstractSyntaxTree);
i22011 marked this conversation as resolved Outdated

Same Here

Same Here
// Printing the Tast
System.out.println("Tast generated");
/*
* ------------------------- Bytecode Generator -> Bytecode
* -------------------------
*/
/*------------------------- Bytecode Generator -> Bytecode -------------------------*/
ByteCodeGenerator byteCodeGenerator = new ByteCodeGenerator();
//byteCodeGenerator.generateByteCode(abstractSyntaxTree);
byteCodeGenerator.visit(typedAst);