Hi,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.Can any one give me some ideas ? Thanks