parsing hotml into syntax tree