feat(markup): adopt v0.3 as sole mapping (** code, * return)

Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-13 20:38:53 +08:00
1 parent 00a77181ef
commit bfb10d172b
114 files changed
+2271 -732

No files matched your search

+16 -1
View File
@@ -2,8 +2,9 @@
| | |
|---|---|
| 状态 | 与 mapping v0.1 / keywords 对齐(成段注释) |
| 状态 | 与 mapping **v0.2** 对齐(成段注释);**v0.3 草案**见 [markdown-mapping-v0.3.md](markdown-mapping-v0.3.md) §4 |
| 日期 | 2026-08-04 |
| 修订 | 2026-09-13:注明 v0.3 叙述可含声明与行内代码段 |
---
@@ -36,3 +37,17 @@
| `****` / 空粗体 | 空返回 + 结束函数体 | 是 |
| `> print …` | 打印副作用 | 否(内置函数) |
| 函数体 `---` / `***` | 结束函数体 | 是(边界) |
---
## v0.3 草案预告(未实现)
[mapping v0.3](markdown-mapping-v0.3.md) 拟改为:
| 层 | 形态 |
|----|------|
| 叙述面 | 普通段落;`` `名` `` 可声明/引用 |
| 可执行面 | 结构标记 + **`**代码**`** + **`*返回*`**;调用可无 `>` |
| 外联面 | 不变 |
现行实现与上表(v0.2)一致,直至路线图默认切换。