> > Yes, that's what I need, thanks. Now I need to iterate over the (in >> principle arbitrarily complex, i.e. nested) syntax tree and do this >> everywhere. >> Is there a standard method for this kind of iteration? >> > > I guess some kind of recursion. I'll give it a go... >
Beyond that, you might find some useful patterns in ForwardDiff and some of the JuliaOpt packages (especially JuMP). Also Toivo Henningsson's packages (github toivoh). Those use lots of symbolic expressions.
