summaryrefslogtreecommitdiff
path: root/interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.h')
-rw-r--r--interpreter.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/interpreter.h b/interpreter.h
new file mode 100644
index 0000000..66edce0
--- /dev/null
+++ b/interpreter.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "ast.h"
+
+
+typedef struct InterState InterState;
+
+InterState* inter_make(void);
+void inter_destroy(InterState *is);
+void inter_runcode(AST *ast); //updates symbol id's