I'm brand new to using AST, but I've been handed a 'Genetic Programming From Scratch' assignment and from what I can tell AST seems to be the way to go in terms of manipulating the tree.
What I need to do is replace one branch of the tree with one from another tree (in Genetic Programming lingo- 'crossover').
Can anyone advise how best to tackle this? As I say I'm new to AST.