aboutsummaryrefslogtreecommitdiff
path: root/include/interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/interpreter.h')
-rw-r--r--include/interpreter.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/interpreter.h b/include/interpreter.h
index 182f2e5..301a3d8 100644
--- a/include/interpreter.h
+++ b/include/interpreter.h
@@ -1,17 +1,13 @@
#ifndef INTERPRETER_H
#define INTERPRETER_H
-#include "ast.h"
+#include "ast.h"
+#include "hash_map.h"
-typedef struct Env {
- char *name;
- int val;
- struct Env *next;
-} Env;
-void exec_stmt(Env **env, ASTNode *node);
-void env_print(Env *env);
+void exec_stmt(hashmap_t context, ASTNode *node);
+void context_print(hashmap_t context);
#endif \ No newline at end of file