EngineHub / EngineHub/CommandHelper
Create comp_execute
Open
feature request
- Dominant language
- Java
- Stars
- 128
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
comp_execute() would be a function which accepts a single, constant iclosure, which is then fully resolved at compile time. The return value (which should be non-void) will replace the call to comp_execute in the parse tree.
One undiscussed issue is how values that are non-constant being returned should work. Since the value is replaced into the parse tree, what happens if something like an array or other mutable object is returned?
Contributor guide
Assessment
This issue has not been assessed yet.