aboutsummaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-09 14:02:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-09 14:02:19 -0500
commit955f047e069497be4cbeffa3e0309360aeb1efa7 (patch)
tree20b59546bb79c75d368739959d15c28317e913bd /compile.h
parent0921f3723bf7fe7539aa7a5dfdbd921f445777af (diff)
First pass at lambdas/closures
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile.h b/compile.h
index 6ae5cb07..1f385bb3 100644
--- a/compile.h
+++ b/compile.h
@@ -15,6 +15,7 @@ typedef struct {
CORD expr_as_texting(env_t *env, CORD expr, type_t *t, CORD color);
module_code_t compile_file(ast_t *ast);
CORD compile_type_ast(type_ast_t *t);
+CORD compile_declaration(type_t *t, const char *name);
CORD compile_type(type_t *t);
CORD compile(env_t *env, ast_t *ast);
void compile_namespace(env_t *env, const char *ns_name, ast_t *block);