aboutsummaryrefslogtreecommitdiff
path: root/include/driver.h
diff options
context:
space:
mode:
authorFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-25 15:54:50 +0200
committerFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-25 15:54:50 +0200
commit330e46236b421ffb8fe263caf91196f4cd1114c5 (patch)
tree09b3df77fca2d23dacef64f6962e9a1afd5b4d29 /include/driver.h
parentde59dbd1773dff06051b7b604977bcb2803ada4f (diff)
downloadimp-330e46236b421ffb8fe263caf91196f4cd1114c5.tar.gz
imp-330e46236b421ffb8fe263caf91196f4cd1114c5.zip
[cleanup] codebase cleanup
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