enum nodeType { BIOP, UNOP, LTTR }; typedef struct { enum nodeType type; char el; struct node *child[2]; } node; node* parse(const char *str);