EngineHub / EngineHub/CommandHelper

Create comp_execute

Open
#1,238 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.