Repository navigation
Add text patterns, eager queries, and language correctness fixes - #14
Merged
Merged
Conversation
bytetroll
marked this pull request as ready for review
October 26, 2026 20:42
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.
Ny and Matrix now support eager array queries and readable text patterns through the shared semantic core and runtime. Queries provide filtering, stable ordering, pagination and scalar/text/tuple projection, with Matrix-authored count/any/first/last/single terminals.
nil.std.textprovides bounded regex compilation, matching, captures and byte spans, plus whole-match collection, splitting and literal replacement. Extracted matches can feed directly into collected queries. VS Code highlighting, snippets and scoped query completion are included.Prose declarations and conventional regex notation use one byte-pattern profile. Collection helpers preserve empty-match progression, propagate later search errors and reject excess matches/output without returning partial success. Replacement preflights output size and uses balanced concatenation. Query clauses enforce ownership invariants across repeated row evaluation.
The language bug pass fixes accepted unfinished comments/bodies, multiplication after multiline grouped expressions, missing argument checks, ignored built-in arguments, and native allocation/enum construction failures. Argument checking resolves generic receivers, method parameters and structural callback signatures while preserving supported numeric conversions. Allocation aliases and generic element types survive lowering. Concrete enum context reaches positional constructors and ordinary calls; array layouts remain invariant even with checking disabled. Earlier fixes also preserve nested enum payload context and indexed text element types.
Validation at clean commit
b7eb2a9:NIL-0016 and findings F56–F66 document the supported scope and follow-ups: eager scalar/text/tuple arrays, byte-oriented regex, 4096 collected matches and 1 MiB replacement output. Grouping/joins/lazy queries, Unicode/dialect adapters and replacement templates remain follow-ups. Binary-only libraries type-check and execute but currently lack completion/semantic symbols; the shipped source-backed SDK editor workflow passes. Remaining call-checking gaps include enum constructor payload validation and calls on non-function values; native indirect calls remain incomplete.
The qualified SDK is activated locally with its previous generation preserved.
rc-checksis technical SDK qualification, not a v1 release declaration.