aboutsummaryrefslogtreecommitdiff
path: root/tomo.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-21 01:33:44 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-21 01:33:44 -0400
commit9c9eff753f22d774b055d296e6de7dfd1b46272e (patch)
tree93e257cce683e8ef701625397988ab551587c360 /tomo.h
parenta47bd2d569e24b74bbb925b934bc835b4eea4de9 (diff)
Break compilation phases into functions
Diffstat (limited to 'tomo.h')
-rw-r--r--tomo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tomo.h b/tomo.h
new file mode 100644
index 00000000..c96c25a0
--- /dev/null
+++ b/tomo.h
@@ -0,0 +1,10 @@
+#pragma once
+// Compiler interface
+
+#include <stdbool.h>
+
+int transpile(const char *filename, bool force_retranspile);
+int compile_object_file(const char *filename, bool force_recompile);
+int run_program(const char *filename);
+
+// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0