EngineHub / EngineHub/CommandHelper

Create comp_execute

Aperta
#1,238 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Java
Stelle
128
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.