docs(spec): adopt RFC-LANG-0002 unified language semantics

Replace the Strong/Emph/List/Quote mapping in place with the single
@exec/@knowledge heading-mode model, unified payload carriers and keyword
control flow.

- add the authoritative RFC, ADR-0052 and a historical ADR index
- rewrite spec/mapping.md and spec/expression.ebnf as the normative
  mapping/statement grammar; update evaluation, references, math,
  foreign, package-format, plugin-abi, security and schema notes
- rewrite README, AGENTS, COMPATIBILITY and CHANGELOG for the breaking
  language change; update the architecture index/overview and active docs
- mark superseded planning docs, compute RFCs, evidence and syntax-role
  ADRs as historical/superseded without rewriting their decisions
- add migration guide, per-file inventory and dev-only audit scripts

The frontend/stdlib migration is completed in the following commits; this
commit contains documentation only.
This commit is contained in:
cflmy committed 2026-11-21 12:24:19 +08:00
1 parent 0d8ed44010
commit 49835424ee
47 files changed
+4941 -603

No files matched your search

+6 -1
View File
@@ -160,7 +160,7 @@ Diagnostics no longer embed absolute physical paths:
"line": 2,
"column": 3,
"severity": "warning",
"code": "markdown.inert_executable",
"code": "sem.inferred_signature",
"message": "...",
"hints": []
}
@@ -170,6 +170,11 @@ Diagnostics no longer embed absolute physical paths:
the owning module. `span`, `line` or `column` may be `null` when no precise
location exists.
The `code` value is an open, stable string: the current language revision adds
the `sem.*` family (`spec/mapping.md` §8) and removes the old
`markdown.inert_executable` warning. This is a diagnostic-value change, not an
Analysis schema change; `schema_version` stays 2.
## 6. Compatibility
* Writers emit `schema_version: 2`. There is no v1 writer and no