tomo/parse.h

14 lines
262 B
C

#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(const char *path, jmp_buf *on_err);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0