Repository navigation
[1032] 适配与修复 (liii match) 中的反引号及拼接模式匹配 - #1089
Merged
Merged
Conversation
da-liii
force-pushed
the
da/1032/quasiquote_match
branch
from
October 9, 2026 06:59
93bb1b5 to
d931302
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
#_list-values、#_apply-values以及#_<list*>;match-core.scm中match-two、match-quasiquote、match-extract-vars及match-extract-quasiquote-vars对反引号模式及拼接模式的解构逻辑;match-list-values与match-list-star宏体系,支持单一解引用、多重解引用、尾部与非尾部拼接解引用、点对反引号等;tests/liii/match/match-test.scm测试用例,覆盖各种反引号模式解构与变量提取。Why
解决 Issue #1086 中 (liii match) quasiquote 失效问题,提供符合开发者直觉的模式匹配体验。
How
排查并适配 S7 reader 在读取期生成的反引号内部 AST 结构,精准拦截与分发匹配规则并完成变量提取。
Test