From b1d2120d5d20c0122cc0a61f2ca09f0bc754d14d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 00:01:56 -0400 Subject: More docs and moving parsing into a subfolder. --- src/parse/parse.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/parse/parse.h (limited to 'src/parse/parse.h') diff --git a/src/parse/parse.h b/src/parse/parse.h new file mode 100644 index 00000000..c3e9455a --- /dev/null +++ b/src/parse/parse.h @@ -0,0 +1,12 @@ +#pragma once + +// Parsing logic + +#include + +#include "../ast.h" + +type_ast_t *parse_type_str(const char *str); +ast_t *parse_file(const char *path, jmp_buf *on_err); +ast_t *parse(const char *str); +ast_t *parse_expression(const char *str); -- cgit v1.2.3