summaryrefslogtreecommitdiff
path: root/sinter_codegen.h
diff options
context:
space:
mode:
authorTom Harley2019-12-23 01:32:39 +0000
committerTom Harley2019-12-23 01:32:39 +0000
commit7bc67b95161a34f8eca635d4000d9602508a9243 (patch)
tree585b3778dc1967832390e5829e4b3909b4184a2c /sinter_codegen.h
parentAdd basics for interpreter; add CLI options (diff)
downloadsinter-7bc67b95161a34f8eca635d4000d9602508a9243.tar.gz
sinter-7bc67b95161a34f8eca635d4000d9602508a9243.zip

checkpoint

Diffstat (limited to 'sinter_codegen.h')
-rw-r--r--sinter_codegen.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sinter_codegen.h b/sinter_codegen.h
new file mode 100644
index 0000000..e0a0737
--- /dev/null
+++ b/sinter_codegen.h
@@ -0,0 +1,10 @@
+#ifndef SINTER_CODEGEN_H
+#define SINTER_CODEGEN_H
+
+#include "sinter.h"
+
+void sinter_codegen_prologue();
+void sinter_codegen(sexpr *ast);
+int sinter_codegen_epilogue(char *output_filename);
+
+#endif /* SINTER_CODEGEN_H */