Dear all, I would like to know how to turn the parsed hash tree into RubyTree[1]. By doing this, I can custom the behavior of each node. For example, check if there is any specific node in a subtree. Is this a practical way for doing post-processing on the parsed tree?
How to do this through 'Transform'? Need I write a transforming rule for each parsing rule, which will be very cumbersome? I imagine this should be through a recursive method. Comment and advice is appreciated! Best, Li [1] http://rubytree.rubyforge.org
