Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create comp_execute #1238

Open
LadyCailin opened this issue Aug 10, 2020 · 0 comments
Open

Create comp_execute #1238

LadyCailin opened this issue Aug 10, 2020 · 0 comments
Labels
feature request New functionality that doesn't exist yet

Comments

@LadyCailin
Copy link
Member

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?

@LadyCailin LadyCailin added the feature request New functionality that doesn't exist yet label Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New functionality that doesn't exist yet
Projects
None yet
Development

No branches or pull requests

1 participant