#include "lexer.h" #ifndef PARSE #define PARSE typedef enum PrimitiveType { VOID, INT, FLOAT, STRING } primitive_t; typedef enum AbstractType { FUNCTION, ARRAY } abstract_t; typedef struct Type { primitive_t primitive; abstract_t abstract; struct Type* referent; } type_t; typedef struct Symbol { type_t type; void* name; struct Symbol* args; } sym_t; sym_t parse(tokenSet_t tokens) #endif