Write new function to walley_parser.h

I want to change the way of parsing from parsing string to parsing
token list