aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/interpreter.h6
-rw-r--r--include/repl.h6
2 files changed, 12 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
diff --git a/include/repl.h b/include/repl.h
new file mode 100644
index 0000000..804b702
--- /dev/null
+++ b/include/repl.h
@@ -0,0 +1,6 @@
+#ifndef REPL_H
+#define REPL_H
+
+void repl(void);
+
+#endif \ No newline at end of file