code / tomo

Lines41.3K C23.7K Markdown9.7K YAML5.0K Tomo2.3K
7 others 763
Python231 Shell230 make212 INI47 Text21 SVG16 Lua6
(12 lines)
1 // This file defines how to compile header files
3 #pragma once
5 #include "../ast.h"
6 #include "../environment.h"
7 #include "../stdlib/datatypes.h"
9 Text_t compile_file_header(env_t *env, Path_t header_path, ast_t *ast);
10 Text_t compile_namespace_header(env_t *env, const char *ns_name, ast_t *block);
11 Text_t compile_statement_namespace_header(env_t *env, Path_t header_path, ast_t *ast);
12 Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast);