parse syntax tree