I have a problem: my program generates some expression like d=expr, and then i need to compile a function or create a function using this result but i can not use Compile[{vars},d] because it doesn't plug the expression for d found in the previous steps, I would need to manually copy-paste it in the Compile instead of d and that's not possible to do in the body of the program (~1000 copy pastes).