aboutsummaryrefslogtreecommitdiff
path: root/src/compile/assignments.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile/assignments.h')
-rw-r--r--src/compile/assignments.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/compile/assignments.h b/src/compile/assignments.h
new file mode 100644
index 00000000..a906db33
--- /dev/null
+++ b/src/compile/assignments.h
@@ -0,0 +1,11 @@
+
+#include "../ast.h"
+#include "../environment.h"
+#include "../stdlib/datatypes.h"
+#include "../types.h"
+
+Text_t compile_update_assignment(env_t *env, ast_t *ast);
+Text_t compile_declaration(type_t *t, Text_t name);
+Text_t compile_declared_value(env_t *env, ast_t *declare_ast);
+Text_t compile_assignment(env_t *env, ast_t *target, Text_t value);
+Text_t compile_lvalue(env_t *env, ast_t *ast);