finished sym_type. tested yytext.
added stack buf interfaces.