kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Can be simplified to single expression

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

A lot of duplication with @typeInfo(usize).Int and getting min / max limits of int types in general. These could be reduced into a constants declared in function body to reduce repetition.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Resolve TODOs in the function body.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Potentially (but very unlikely to ever trigger) unsafe length cast.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Potentially (but very unlikely to ever trigger) unsafe length cast.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Potentially (but very unlikely to ever trigger) unsafe length cast.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Does this operation "get" like the name suggests (acquiring a reference) or is it an immutable view like the current implementation suggests?

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Inaccurate name for syscall.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Inaccurate name for syscall.

kayomn commented on pull request kayomn/ona#21 2023-07-22 13:56:01 +02:00
Native "Syscall" Interface for Kym

Does this need to be public?

kayomn pushed to kym-native-function at kayomn/ona 2023-07-22 13:37:23 +02:00
8137f2b474 Fix memory leaks
7b4b827dc2 Refactor Kym runtime API
Compare 2 commits »
kayomn opened issue kayomn/ona#27 2023-07-22 13:35:38 +02:00
Ona Script String Interpolation
kayomn pushed to kym-native-function at kayomn/ona 2023-07-22 00:03:32 +02:00
1ea115b277 Replace globals with native call interface
84e5236ba1 Add global function calling syntax support
Compare 2 commits »
kayomn commented on issue kayomn/ona#24 2023-07-21 23:26:54 +02:00
Non-String Indices in Kym Table Literals

In order to support symbols, similar to Ruby, I believe this issue should be expanded to also include handling for symbols.

The new syntax proposal is as follows:

  • Table literal with…
kayomn pushed to kym-native-function at kayomn/ona 2023-07-19 00:53:00 +02:00
1828eb3b45 Refactor Kym runtime values to be objects
kayomn opened issue kayomn/ona#26 2023-07-18 23:40:43 +02:00
Ona Script Comments
kayomn opened issue kayomn/ona#25 2023-07-15 16:55:43 +02:00
Kym Vector Types
kayomn opened issue kayomn/ona#24 2023-07-15 16:41:22 +02:00
Number Indices in Kym Table Literals
kayomn opened issue kayomn/ona#23 2023-07-15 16:33:42 +02:00
Kym Control Flow
kayomn opened issue kayomn/ona#22 2023-07-15 16:29:50 +02:00
Kym Functions