title: Systematic way to generate ANTLR tree grammar?
body: <p>I have a little bit large ANTLR parser grammar file and want to make a tree grammar for it. But, as far as I know this work of tree grammar generation can't be done automatically, i.e., I should generate it manually by copying parser grammar, removing some unnecessary code, etc. I want to know if there is a systematic way to generate a tree grammar file from a parser grammar file.</p>
  <p>P.S. I read an article that insists that '<a href="http://www.antlr2.org/article/1170602723163/treewalkers.html" rel="nofollow noreferrer">Manual Tree Walking Is Better Than Tree Grammars</a>'. Is this reliable information? If so, would it be better for me to make a manual tree walker than writing an ANTLR tree grammar file? And then, how do I make a manual tree walker with my ANTLR parser grammar file(it makes an AST using rewrite rules)?</p>
  <p>Thanks in advance.</p>