aboutsummaryrefslogtreecommitdiff
path: root/parse.h
blob: 9dae2c74d169f539888e428baebd5c4dcf877d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

// Parsing logic

#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(file_t *file, jmp_buf *on_err);

// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0