pretty print syntax tree