Skip to content

2-runtime/散数组键 <i> → [i] 对齐 SplitIndex 路径模型 - #11

Merged
miaobyte merged 1 commit into
masterfrom
issue-10-path-index
Aug 16, 2026
Merged

miaobyte merged 1 commit into
masterfrom
issue-10-path-index

Conversation

@miaobyte

Copy link
Copy Markdown
Contributor

概览

对齐 kvspace-go 的 SplitIndex 路径模型:散 key 数组元素键从 <i> 改为 [i],并移除 desugarMemberWrite 的绝对路径特判(. 一律按 dict 成员处理)。

Closes #10

变更

  • rwir/builtin/array.go:散数组读写(at/set/scatter/compact/append/slice/separatedBase/separatedLen)从 base<i> 改为 base[i]
  • rwirext/json/json.gosplitArrayName 从解析 name<i> 改为 name[i]
  • parser/inst.go:移除 desugarMemberWrite/ 绝对路径特判
  • tutorial/04-array/separated.kvtutorial/10-rwirext/json.kv:注释同步

验证

  • go build ./... 通过

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@miaobyte
miaobyte merged commit 3f7b1ff into master Aug 16, 2026
1 of 4 checks passed
@miaobyte
miaobyte deleted the issue-10-path-index branch August 16, 2026 09:43
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.

2-runtime/散数组键 <i> → [i] 对齐 SplitIndex 路径模型

1 participant