aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
blob: 95b2ff959bb9faf93a7516ee1f203c0e0fbcafeb (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_file(const char *path, jmp_buf *on_err);
ast_t *parse(const char *str);

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