Added AST & Code definitions segemnted code defs to separate file

For upcoming statements & expression types, just beginning to lay things out for the future.
This commit is contained in:
2023-11-21 20:07:49 -05:00
parent a0ee683f82
commit be023325a9
6 changed files with 1490 additions and 543 deletions

View File

@ -113,6 +113,7 @@ int gen_main()
Code types = scan_file( project_dir "components/types.hpp" );
Code ast = scan_file( project_dir "components/ast.hpp" );
Code ast_types = scan_file( project_dir "components/ast_types.hpp" );
Code code_types = scan_file( project_dir "components/code_types.hpp" );
Code interface = scan_file( project_dir "components/interface.hpp" );
Code inlines = scan_file( project_dir "components/inlines.hpp" );
Code header_end = scan_file( project_dir "components/header_end.hpp" );
@ -133,6 +134,7 @@ int gen_main()
header.print_fmt("#pragma region AST\n");
header.print( ast );
header.print( code_types );
header.print( ast_types );
header.print_fmt("\n#pragma endregion AST\n");