Add the r remainder operator and Group length[] #1

Merged
Stormzady merged 1 commit from bingo/features into zed-extension 2026-10-22 12:58:13 +01:00
Owner

<7 r 3> gives 1, with the sign of the left side, and raises
lumen.errors.maths.zerodivision on 0 like d. It compiles to a new Echo
opcode, REM (0x34). The LSP offers r in maths completion and the
tree-sitter grammar (regenerated with 0.25.10) highlights it.

group.length[] counts every entry, keyed or not. The LSP documents it.

Both are [PLACEHOLDER]s in SPEC.md §15 for Arizona to decide on.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

`<7 r 3>` gives 1, with the sign of the left side, and raises lumen.errors.maths.zerodivision on 0 like d. It compiles to a new Echo opcode, REM (0x34). The LSP offers r in maths completion and the tree-sitter grammar (regenerated with 0.25.10) highlights it. `group.length[]` counts every entry, keyed or not. The LSP documents it. Both are [PLACEHOLDER]s in SPEC.md §15 for Arizona to decide on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`<7 r 3>` gives 1, with the sign of the left side, and raises
lumen.errors.maths.zerodivision on 0 like d. It compiles to a new Echo
opcode, REM (0x34). The LSP offers r in maths completion and the
tree-sitter grammar (regenerated with 0.25.10) highlights it.

`group.length[]` counts every entry, keyed or not. The LSP documents it.

Both are [PLACEHOLDER]s in SPEC.md §15 for Arizona to decide on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stormzady merged commit f1d7ddcd08 into zed-extension 2026-10-22 12:58:13 +01:00
Stormzady deleted branch bingo/features 2026-10-27 06:35:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Stormzady/lumen!1
No description provided.