display AST in a simple format