You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The benefit of this is, that they are as fast as normal templates, the downside is that you must restructure your application a little.
Real Runtime evaluation however is still a planned feature, and there is code for this already in the "dynamicAgain" branch (and some more i have not published yet).
The way i want to go is to include the compiler as a library, let nimja generate PNodes (instead of NimNodes) and execute these directly in the nimvm. The challenge here is, that the compiler api is quite undocumented and complicated to use (for me at least); and the other challenge is to convert parameters from native nim types, to PNodes that can run directly on the vm.
So in short, i would love to have this as well, but its not yet done.
Is it possible to compile these templates at runtime? with a function or something?
The text was updated successfully, but these errors were encountered: