-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implement Glue correctly #73
Conversation
Seems to be working well for me! At some point there should be an overload on |
If I understand it correctly, the lookaheadSafe is a flag for a binding, which when true stops looking for a glue, if this function is encountered before execution? Does it make sense to allow setting a default value or is this just confusing? (Like runner::setLookaheadSafeDefault) |
Yep, exactly. If an unsafe EXTERNAL call is encountered, it doesn't run the call and gives up looking ahead, assuming there won't be any glue.
The C# API has lookaheadSafe = false as a default third parameter on |
I just revised that tags can also break glues. |
Ink Proof ResultsThese results are obtained by running the Ink-Proof Testing Suite on the compiled binaries in this pull request.
|
Now execute after a newline until the next output is generated.
Attention! This can result in the double execution of external functions and double calls from observers, since the variable changes, gets restored and changed again