aboutsummaryrefslogtreecommitdiff
path: root/include/interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/interpreter.h')
-rw-r--r--include/interpreter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/interpreter.h b/include/interpreter.h
index 301a3d8..6e60113 100644
--- a/include/interpreter.h
+++ b/include/interpreter.h
@@ -9,5 +9,11 @@
void exec_stmt(hashmap_t context, ASTNode *node);
void context_print(hashmap_t context);
+void context_set(hashmap_t context, const char *name, int value);
+int context_get(hashmap_t context, const char *name);
+
+int exec_file (hashmap_t context, const char *path);
+int exec_str (hashmap_t context, const char *str);
+
#endif \ No newline at end of file