Codegen woes

@ChrisRackauckas your solution still uses eval to define the function body. Any idea on how to eliminate the use of that?