aboutsummaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-04 15:23:59 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-04 15:23:59 -0500
commit98f0c51119f9d42d733f44cb516b1c2bcd9061af (patch)
tree39ab4fa635f858b76b9a8bbf84701c2788d5f498 /parse.h
Initial commit
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/parse.h b/parse.h
new file mode 100644
index 00000000..aaaa671a
--- /dev/null
+++ b/parse.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <setjmp.h>
+
+#include "ast.h"
+
+type_ast_t *parse_type_str(const char *str);
+ast_t *parse_expression_str(const char *str);
+ast_t *parse_file(sss_file_t *file, jmp_buf *on_err);