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:
1 parent
0d8ed44010
commit
49835424ee
47 files changed
+4941
-603
No files matched your search
+4
-4
@@ -323,11 +323,11 @@ namespace (`solver`).
|
||||
Document syntax (`examples/plugin-demo/plugin-call.mq.md`):
|
||||
|
||||
```markdown
|
||||
## main
|
||||
## @exec main
|
||||
|
||||
**结果 = solver.add(a=20, b=22)**
|
||||
|
||||
> 打印(结果)
|
||||
`结果 = solver.add(a=20, b=22)`
|
||||
`print(结果)`
|
||||
`return 结果`
|
||||
```
|
||||
|
||||
Semantics:
|
||||
|
||||
Reference in new issue
Block a user