parser: output formated AST.