aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
new file mode 100644
index 0000000..82a3019
--- /dev/null
+++ b/src/parser.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdbool.h>
+
+#include "ast.h"
+#include "lexer.h"
+
+bool parse_program(struct Lexer* lexer, struct Program* out);