#include "parse.h" #include "lexer.h" #include #include #include sym_t parse(tokenSet_t tokens, int* seek) { token_t token = tokens.tokens[(*seek)++]; if (token.type == ERR || token.type == EOL) { exit(1); } else if (token.type == NAME) { return parse_name(seek); } } sym_t parse_name(tokenSet_t tokens, int* seek) { token_t token = tokens.tokens[(*seek)++]; if (token.type == KEYWORD) { if (keyword_is_type(token.value)) { } } } sym_t parse_definition(tokenSet_t tokens, int* seek,