kayomn commented on pull request kayomn/ona#44 2023-11-05 16:32:13 +01:00
Closures, Higher-Order Functions, and Everything in Between

Actually this is out of scope and really a non-issue right now.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Why unreachable?

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Why unreachable?

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

What is this for?

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

May be worth replacing with VM managed Buffer object rather than raw Zig array.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

All these raw illegal state calls may be better as a VM-managed assert function.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Debugging code wants removing or moving somewhere else that is easier to switch on or off.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Why rename?

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

This shouldn't be capable of crashing the process - needs better handling.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Shorten to use root.report_declare_error.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Shorten to use root.report_declare_error.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

Should ideally be marked pub as is used on public interface for struct.

kayomn commented on pull request kayomn/ona#44 2023-11-05 15:51:51 +01:00
Closures, Higher-Order Functions, and Everything in Between

TODO functions should be unreachable and have a comment.

kayomn pushed to kym-captures at kayomn/ona 2023-11-05 13:25:21 +01:00
c86173d759 Fix bugs with n+1-nested closures
kayomn created pull request kayomn/ona#44 2023-11-04 14:43:20 +01:00
WIP: Closures, Higher-Order Functions, and Everything in Between
kayomn created branch kym-captures in kayomn/ona 2023-11-04 14:41:46 +01:00
kayomn pushed to kym-captures at kayomn/ona 2023-11-04 14:41:46 +01:00
88ff2a64b6 Make arguments read-only
880761a722 Implement closures
Compare 2 commits »
kayomn pushed to main at kayomn/ona 2023-10-29 22:51:55 +01:00
6ea44f552e Merge pull request 'Rewrite Ona Script implementation' (#43) from kym-rewrite into main
0965779e83 Rewrite Ona Script implementation
Compare 2 commits »
kayomn deleted branch kym-rewrite from kayomn/ona 2023-10-29 22:51:55 +01:00
kayomn merged pull request kayomn/ona#43 2023-10-29 22:51:54 +01:00
Rewrite Ona Script implementation