diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 15:29:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 15:29:52 -0400 |
| commit | 3f9f82ca53ed353d10ae65fc958e73193e8d9739 (patch) | |
| tree | cb92b570cd78a015cb62ae5c776d14cad7fe2b22 /src/compile.h | |
| parent | 634d1ad756fca46e1e8aec93a265998232dd58a6 (diff) | |
Move more stuff into structs/enums files
Diffstat (limited to 'src/compile.h')
| -rw-r--r-- | src/compile.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/compile.h b/src/compile.h index 56b522c7..6b0b4dc5 100644 --- a/src/compile.h +++ b/src/compile.h @@ -7,18 +7,20 @@ #include "environment.h" #include "stdlib/datatypes.h" -Text_t compile_to_type(env_t *env, ast_t *ast, type_t *t); -Text_t expr_as_text(Text_t expr, type_t *t, Text_t color); +Text_t compile(env_t *env, ast_t *ast); +Text_t compile_cli_arg_call(env_t *env, Text_t fn_name, type_t *fn_type, const char *version); +Text_t compile_declaration(type_t *t, Text_t name); +Text_t compile_empty(type_t *t); Text_t compile_file(env_t *env, ast_t *ast); Text_t compile_file_header(env_t *env, Path_t header_path, ast_t *ast); -Text_t compile_declaration(type_t *t, Text_t name); -Text_t compile_type(type_t *t); -Text_t compile(env_t *env, ast_t *ast); Text_t compile_namespace_header(env_t *env, const char *ns_name, ast_t *block); Text_t compile_statement(env_t *env, ast_t *ast); -Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast); Text_t compile_statement_namespace_header(env_t *env, Path_t header_path, ast_t *ast); +Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast); +Text_t compile_to_type(env_t *env, ast_t *ast, type_t *t); +Text_t compile_type(type_t *t); Text_t compile_type_info(type_t *t); -Text_t compile_cli_arg_call(env_t *env, Text_t fn_name, type_t *fn_type, const char *version); +Text_t expr_as_text(Text_t expr, type_t *t, Text_t color); +Text_t compile_arguments(env_t *env, ast_t *call_ast, arg_t *spec_args, arg_ast_t *call_args); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
