diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 00:01:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 00:01:56 -0400 |
| commit | b1d2120d5d20c0122cc0a61f2ca09f0bc754d14d (patch) | |
| tree | a9e978b3bf6aa371a8591317ff2fd2450e9c1e21 /src/parse/parse.h | |
| parent | f5b2281084d31700690916c6dd250e2da927e566 (diff) | |
More docs and moving parsing into a subfolder.
Diffstat (limited to 'src/parse/parse.h')
| -rw-r--r-- | src/parse/parse.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <setjmp.h> + +#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); |
