Skip to content

[200_27] 从s7.c迁移 string-upcase, string-downcase, string-set!, string-ref 至 s7_liii_string.c#468

Merged
da-liii merged 3 commits intomainfrom
da/200_27/liii_string
Feb 25, 2026
Merged

[200_27] 从s7.c迁移 string-upcase, string-downcase, string-set!, string-ref 至 s7_liii_string.c#468
da-liii merged 3 commits intomainfrom
da/200_27/liii_string

Conversation

@da-liii
Copy link
Contributor

@da-liii da-liii commented Feb 25, 2026

No description provided.

da-liii and others added 3 commits February 25, 2026 23:22
新增迁移函数:
- string-ref (g_string_ref, string_ref_1)
- string-set! (g_string_set)

技术细节:
- chars[] 改为外部链接供 string_ref_1 使用
- 优化函数 (string_ref_p_pi 等) 保留在 s7.c 中
- 使用 s7_is_immutable 检查字符串可变性

所有 1560 个测试通过。

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@da-liii da-liii merged commit 2d833d5 into main Feb 25, 2026
4 checks passed
@da-liii da-liii deleted the da/200_27/liii_string branch February 25, 2026 15:42
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