summaryrefslogtreecommitdiff
path: root/codegen.h
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-03-26 19:46:35 -0700
committerCarson Fleming <cflems@cflems.net>2026-03-26 19:46:35 -0700
commit28157efe6ef65394d8930a79200b9243ee919f47 (patch)
tree5dd492ae8d27e99d066b88e76f5304fad270ee11 /codegen.h
parent2e4f713ede25fb6147571858779fde542144c76f (diff)
downloadccc-28157efe6ef65394d8930a79200b9243ee919f47.tar.gz
mostly there except need to implement one more hash map
Diffstat (limited to 'codegen.h')
-rw-r--r--codegen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/codegen.h b/codegen.h
new file mode 100644
index 0000000..50bb105
--- /dev/null
+++ b/codegen.h
@@ -0,0 +1,8 @@
+#ifndef CODEGEN_H
+#define CODEGEN_H
+
+#include "ast.h"
+
+void emit_code(const struct root_node* ast, const char* path);
+
+#endif