Precedence climbing, AST definition and AST construction