You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot opened this issue
Jun 14, 2023
· 2 comments
Labels
bugSomething isn't workingcriticalCritical, top-priority issuesexecutionIssues related to the executor (src/vm/exec.nim)libraryIssues related to the standard librarytodoAutomatically generated issues from TODOs in the codevmIssues related to the Virtual Machine implementation
[VM/exec] Leakless blocks not working properly with pre-defined functions
Let's say we have a pre-defined function (e.g. arg) and this symbol is used
as an iterator variable - which is precisely where leakless blocks come into play -
this creates a total mess, since their arities are not properly handled.
e.g.
#TODO(VM/exec) Leakless blocks not working properly with pre-defined functions
pop()
# TODO(VM/exec) Leakless blocks not working properly with pre-defined functions
# Let's say we have a pre-defined function (e.g. `arg`) and this symbol is used
# as an iterator variable - which is precisely where leakless blocks come into play -
# this creates a total mess, since their arities are not properly handled.
# e.g.
# ```
# for arr 'arg [
# ; do sth
# ]
# ```
# Also see: https://github.com/arturo-lang/arturo/blob/master/examples/rosetta/call%20a%20function.art
# and https://github.com/arturo-lang/arturo/blob/master/examples/rosetta/variadic%20function.art
# labels: bugs, critical, library, vm, execution
template prepareLeakless*(protected: seq[string] | ValueArray): untyped =
## Prepare for leak-less block execution
ndex c99bf43de1..bbf2b7302e 100644
++ b/version/build
69bbd8fae3ea724ead6422700b83908a18c78422
The text was updated successfully, but these errors were encountered:
github-actionsbot
added
critical
Critical, top-priority issues
execution
Issues related to the executor (src/vm/exec.nim)
library
Issues related to the standard library
todo
Automatically generated issues from TODOs in the code
vm
Issues related to the Virtual Machine implementation
bugs
labels
Jun 14, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bugSomething isn't workingcriticalCritical, top-priority issuesexecutionIssues related to the executor (src/vm/exec.nim)libraryIssues related to the standard librarytodoAutomatically generated issues from TODOs in the codevmIssues related to the Virtual Machine implementation
[VM/exec] Leakless blocks not working properly with pre-defined functions
Let's say we have a pre-defined function (e.g.
arg
) and this symbol is usedas an iterator variable - which is precisely where leakless blocks come into play -
this creates a total mess, since their arities are not properly handled.
e.g.
Also see: https://github.com/arturo-lang/arturo/blob/master/examples/rosetta/call%20a%20function.art
and https://github.com/arturo-lang/arturo/blob/master/examples/rosetta/variadic%20function.art
arturo/src/vm/exec.nim
Line 158 in d5a70ba
69bbd8fae3ea724ead6422700b83908a18c78422
The text was updated successfully, but these errors were encountered: