aboutsummaryrefslogtreecommitdiff
path: root/src/sema.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-08 12:00:49 +0200
committerhachem <im@hachem.wtf>2026-09-08 12:00:49 +0200
commit9d47486aac9cd1a4422b78ee273b7a27bf7b733a (patch)
treea015067fe963f3a24e8f37a8b9cd581540b3bb8c /src/sema.h
parent21be45a904a0afc767214298721bd2bbce19a054 (diff)
refactor: flatten src and migrate to meson
Diffstat (limited to 'src/sema.h')
-rw-r--r--src/sema.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sema.h b/src/sema.h
new file mode 100644
index 0000000..f28c49c
--- /dev/null
+++ b/src/sema.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdbool.h>
+
+#include "ast.h"
+#include "diag.h"
+
+bool analyze_program(struct Source source, struct Program* program);