aboutsummaryrefslogtreecommitdiff
path: root/include/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
new file mode 100644
index 0000000..40cfc58
--- /dev/null
+++ b/include/driver.h
@@ -0,0 +1,13 @@
+#ifndef IMP_DRIVER_H
+#define IMP_DRIVER_H
+
+#include "interpreter_context.h"
+
+int imp_driver_interpret_file (IMP_InterpreterContext *context, const char *path);
+int imp_driver_interpret_str (IMP_InterpreterContext *context, const char *str);
+int imp_driver_print_ast_file (const char *path);
+
+void imp_driver_print_var_table(IMP_InterpreterContext *context);
+void imp_driver_print_proc_table(IMP_InterpreterContext *context);
+
+#endif /* IMP_DRIVER_H */ \ No newline at end of file