From 9c9eff753f22d774b055d296e6de7dfd1b46272e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 21 Mar 2024 01:33:44 -0400 Subject: Break compilation phases into functions --- tomo.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tomo.h (limited to 'tomo.h') 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 + +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 -- cgit v1.2.3