Constant Folding for Let Variables in Ona Script
Removing this as a milestone for the scripting MVP.
Closures, Higher-Order Functions, and Everything in Between
03a8abc5dd
Merge pull request 'Closures, Higher-Order Functions, and Everything in Between' (#44) from kym-captures into main
816051f066
Amend code review
c86173d759
Fix bugs with n+1-nested closures
88ff2a64b6
Make arguments read-only
880761a722
Implement closures
Closures, Higher-Order Functions, and Everything in Between
Actually this is out of scope and really a non-issue right now.
Closures, Higher-Order Functions, and Everything in Between
May be worth replacing with VM managed Buffer object rather than raw Zig array.
Closures, Higher-Order Functions, and Everything in Between
All these raw illegal state calls may be better as a VM-managed assert function.
Closures, Higher-Order Functions, and Everything in Between
Debugging code wants removing or moving somewhere else that is easier to switch on or off.
Closures, Higher-Order Functions, and Everything in Between
This shouldn't be capable of crashing the process - needs better handling.
Closures, Higher-Order Functions, and Everything in Between
Shorten to use root.report_declare_error
.
Closures, Higher-Order Functions, and Everything in Between
Shorten to use root.report_declare_error
.
Closures, Higher-Order Functions, and Everything in Between
Should ideally be marked pub as is used on public interface for struct.
Closures, Higher-Order Functions, and Everything in Between
TODO functions should be unreachable and have a comment.