jpfairbanks / SemanticModels.jl

A julia package for representing and manipulating model semantics
MIT License
77 stars 17 forks source link

Use generated functions to remove evals #175

Open jpfairbanks opened 5 years ago

jpfairbanks commented 5 years ago

I think we can avoid our heavy use of eval and Bass.invokelatest if we use @generated functions.

jpfairbanks commented 5 years ago

The answer to this is mk_function from GeneralizedGenerated.jl used in Petri.jl here https://github.com/mehalter/Petri.jl/pull/2. This should be updated whenever we update a piece of code