Skip to content

[0074] 将 s7.c 中的 continuation 相关代码迁移到 s7_continuation.c#853

Merged
da-liii merged 1 commit into
mainfrom
da/0074/s7_call_cc
May 31, 2026
Merged

[0074] 将 s7.c 中的 continuation 相关代码迁移到 s7_continuation.c#853
da-liii merged 1 commit into
mainfrom
da/0074/s7_call_cc

Conversation

@da-liii
Copy link
Copy Markdown
Contributor

@da-liii da-liii commented May 31, 2026

将 s7.c 中与 continuation/goto 相关的类型宏、GC 处理(mark/sweep)、核心实现(call/cc、call-with-exit)、I/O 显示等代码迁移到独立的 s7_continuation.c 中,通过 #include 嵌入 s7.c 编译,保持与现有拆分文件一致的编译方式。\n\n- 创建 src/s7_continuation.c(780 行)\n- 从 src/s7.c 移除约 760 行 continuation 相关代码\n- 编译及全部相关测试通过

@da-liii da-liii force-pushed the da/0074/s7_call_cc branch from f8e47b4 to 2874cc2 Compare May 31, 2026 14:35
@da-liii da-liii merged commit d97805b into main May 31, 2026
4 checks passed
@da-liii da-liii deleted the da/0074/s7_call_cc branch May 31, 2026 14:52
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