The populateexpression function from MetaProgTools might be helpful. For example, you could do something like:
julia> q = :(x + y + 3)
:(x + y + 3)
julia> eval(MetaProgTools.populateexpression(q, Dict("x"=>1, "y"=>2)))
6
On Saturday, August 13, 2016 at 3:07:38 AM UTC-6, Adrian Salceanu wrote:
>
> Thanks, but I don't know what the dict contains, it is user defined.
