Simplification of API.

This commit is contained in:
2025-01-04 23:12:54 +01:00
parent 7787d1307b
commit d08529a3eb
5 changed files with 52 additions and 5 deletions

View File

@@ -145,7 +145,11 @@ Compiled_File :: struct {
file : Input_File;
tokens : Token_Stream;
ast_root : *AST_Node;
ast_nodes : [..]AST_Node;
ast_nodes : [..]AST_Node;
codegen_result_text : string;
semantic_check_result : Semantic_Check_Result;
}
Compile_Result :: struct {
@@ -368,9 +372,9 @@ compile_file :: (compiler : *Shader_Compiler, paths : []string) -> Compile_Resul
}
lex(*result);
// parse(*result);
// check(*result);
// codegen(*result);
parse(*result);
check(*result);
codegen(*result);
return result;
}