creating parser & abstract syntax tree