aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
blob: b915dfdecdff44c050d8d0263e1ecb2362e404ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef TSL_PARSER_H
#define TSL_PARSER_H

#include "tokenizer.h"

typedef enum {
    TSL_PARSE_RESULT_ERR,
    TSL_PARSE_RESULT_OK
} TslParseResult;

TslParseResult tsl_parse(const char *code, size_t code_size);

#endif /* TSL_PARSER_H */