Hi,<br><br>I want to write a program that will take an AST and a cost vector that represents a cost for each operation and produce a simplified version of the tree based on cost reduction.<br><br>Can any one give me some ideas ?<br>
<br>Thanks<br><br>