aboutsummaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-30 03:32:51 +0200
committerhachem <im@hachem.wtf>2026-08-30 03:32:51 +0200
commit5767110816ca9452ef77d15245d1a747bfdd896b (patch)
tree1f7e5dec5f1fb4fe7a53c1c81f94043ba7db5676 /src/parser/parser.h
parent6a6e79cb233e795b78c9ec750dbae9d26bd51654 (diff)
add: top level parser
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
new file mode 100644
index 0000000..82d306a
--- /dev/null
+++ b/src/parser/parser.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdbool.h>
+
+#include "lexer/lexer.h"
+#include "parser/ast.h"
+
+bool parse_program(struct Lexer* lexer, struct Program* out);