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
const functions have been a planned feature since nearly the inception of the project.
This will be a pretty experimental feature, and a lot more stuff is sure to come up once they are worked on. However, here is their status:
Parse const functions.
Scope and properly resolve names of const functions.
Evaluate const functions during const evaluation.
we need something new that is embedded into the const evaluation pass. AstVm is not at all suitable for this because it (very deliberately) does not look at context::Defs or context::Consts.
cycle detection and caching should probably be extended to function calls (with all of their arguments)
add a recursion limit
The text was updated successfully, but these errors were encountered:
const
functions have been a planned feature since nearly the inception of the project.This will be a pretty experimental feature, and a lot more stuff is sure to come up once they are worked on. However, here is their status:
const
functions.const
functions.const
functions during const evaluation.AstVm
is not at all suitable for this because it (very deliberately) does not look atcontext::Defs
orcontext::Consts
.The text was updated successfully, but these errors were encountered: