Skip to content

Add shared language values and compiler-backed editor services - #9

Merged
bytetroll merged 10 commits into
masterfrom
codex/semantic-editing
Oct 21, 2026
Merged

bytetroll merged 10 commits into
masterfrom
codex/semantic-editing

Conversation

@bytetroll

@bytetroll bytetroll commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Ny and Matrix editor services use compiler-resolved bindings for identifier and member completion, call signatures, definition navigation, certified local references and checked local rename. Signature help follows nested calls and Matrix named arguments; completion respects receiver types and source visibility. The editor verifies complete source snapshots before displaying results or returning edits.

Both languages now support structural tuples with positional access, local destructuring, generic/nested values and typed match patterns. Explicit interpolation uses $"..." in Ny and formatted "..." in Matrix, evaluates expressions once in order, and preserves original locations for editor services. Scalar formatting agrees across native and interpreted execution. Matrix accepts signed numeric literals such as -1.6 and unary negative, retaining minus and hyphenated identifiers.

Compiler fixes cover callable resolution for Matrix named arguments, source-unit ownership, private method access, exported trait contracts, escaped Matrix members and exact preprocessor source mappings. Contributor credits include the requested removal. NIL-0010 through NIL-0012 and NIL-0014 through NIL-0015 document implemented contracts; findings F46–F51 record remaining friction.

Boundaries remain explicit: tuple slots are immutable, tuple arrays currently execute only in the interpreter, and declaration destructuring binds flat local names. Explicit interpolation is confined to one physical line and scalar/text values. Legacy Ny floating interpolation now uses shortest round-trip formatting. General incomplete-code recovery and project-wide rename remain follow-up work; NIL-0013 is a proposal.

Validation on clean revision 67d30ed8f7c288d421ee11870066a50a185ebeab:

  • 461/461 CTests, including isolated PostgreSQL coverage and native/interpreter feature contracts.
  • 100 extension unit tests and 77 real VS Code host checks, including interpolation completion/signatures/rename, tuple bindings, diagnostics and recovery.
  • 928 installed-SDK consumer executions using source and binary libraries across six execution routes and standalone assembler/linker routes.
  • A copied SDK outside the checkout passed 233 compiler-query checks, six standard-library queries, and Ny/Matrix consumers through text NIL, binary NIL and native compilation. Manifest and payload verification passed before and after.

The qualified SDK is activated locally and the matching packaged extension is installed. This PR does not declare or publish a language release.

@bytetroll bytetroll changed the title Add certified local references and checked rename Add compiler-backed completion and checked semantic editing Oct 20, 2026
@bytetroll bytetroll changed the title Add compiler-backed completion and checked semantic editing Add compiler-backed completion, signatures and checked local editing Oct 21, 2026
@bytetroll bytetroll changed the title Add compiler-backed completion, signatures and checked local editing Add shared language values and compiler-backed editor services Oct 21, 2026
@bytetroll
bytetroll merged commit 6e0f480 into master Oct 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant