syntax: 注释 #→// + 字符串 r# 原始串(全库迁移) - #219
Merged
Merged
Conversation
- scanner/parser/ast:字符串字面量去三引号/反引号,改 Rust 式原始串 r#"..."#(跨行零转义, 以 # 数量分级定界);注释定界符 # → //(# 被 r#... 串占用)。code.rs 同步。 - extensions:kvlang.tmLanguage / language-configuration 高亮与注释映射更新。 - test.py/error_test.py:期望输出/extern/wip 头解析 # → //。 - 全库 275 .kv(tutorial/stdlib/runtime-rwirext_example)注释与多行字符串改新语法。 - 验证:redis 后端全量回归 184 PASS / 0 FAIL / 3 SKIP(shm 后端有 slotsboxmalloc 挂死 bug, 与本改动无关,另行处理)。
carsontung666
added a commit
to carsontung666/kvlang
that referenced
this pull request
Sep 4, 2026
carsontung666
added a commit
to carsontung666/kvlang
that referenced
this pull request
Sep 4, 2026
miaobyte
added a commit
that referenced
this pull request
Sep 5, 2026
struct WIP 基于 #219 前 master,教程注释仍用 #;rebase 后按现行 // 语法转换。
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.
注释定界符 #→//(为 r# 串腾出 #),字符串改 Rust 式原始串 r#"..."#。全库 .kv + layout + extensions + test 同步。redis 回归 184 PASS。