Repository navigation
Support native tuple arrays across Ny and Matrix - #11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Arrays of structural tuples now execute through both the VM and native toolchain in Ny and Matrix. Indexed access, whole-element replacement, append, generic collection operations, range copies, and tuple-destructuring loops preserve the ordered tuple schema. Array loop expressions evaluate once.
The compiler rejects incompatible storage and function arguments before emitting output, including with type checking disabled. Raw NIL validation checks declared schemas, initialized fields, nominal identities, and typed pointer allocation bounds. Tuple-array out-of-bounds reads fail explicitly. Managed tuple handles retain nested references through growth and collection. Intrinsic enum results preserve concrete metadata, with compatibility for older annotated wrappers.
Clean SDK packaging also exposed a missing Aperture entry in the tool inventory. New packages include and validate the existing prototype; older nine-tool SDKs remain valid. Aperture keeps its separate preview version.
Validation on
ecf8d911ba7405f0a442c57b7ef396f7e32c5add:Native arrays of records, enums, and nested arrays remain unsupported as direct element types. Tuple fields can contain supported nominal values and pointers; raw pointer ownership is unchanged. The VM still cannot prove pointer provenance beyond a matching live typed virtual address. These limits and the resolved friction points are recorded in F52.