Files
marqdo/public
cflmy 78922102e4 fix(view): anchor imported-function returns at their call site
Track the caller line on CallFrame and use it for return annotations instead of the callee library line. Return 950 stays visible on the actual foreign/writeback calls; the Markdown table remains intact and no longer receives stray return chips.
2026-10-18 13:56:50 +08:00
..

用户文档(可执行 · 可下载 · 中英双语)

本目录即面向访客的 Marqdo 介绍:每个 .mq.md 既是文稿也能 marqdo run,并随仓库 / 静态站一起下载。

双语约定: 拉丁文件名 → 英文叙述与英文内置;中文文件名 → 中文叙述与中文编程。成对放在同一目录。标准库:拉丁路径用英文 API,中文路径用中文 API;JSON 仅 lib/json.mq.md。

路径 内容
00-welcome.mq.md / 00-欢迎.mq.md 首页(英 / 中)
structure/ 基本结构
keywords/ 关键字与 L0 内置
stdlib/ 标准库(导入方式 + text/表/文件/时间/系统/json/网络/数学/外联/插件/自写回/子任务;v0.1.2+ 内置于 CLI)
features/ 特性迭代(含对象、官方 ext/)
features/19-foreign-view-cells.mq.md / 19-外联视图单元.mq.md 外联 v2 完整 Python 示例:probe / JSON call / 并行 / 持久内核 / 状态桥 / view 单元
features/20-okf-ekc.mq.md / 20-OKF与EKC.mq.md 代码即文档、文档即知识:OKF 形态与 EKC 工程知识编译器
features/21-persistence.mq.md / 21-持久化.mq.md 外联结果持久化:静态快照与 writeback

官方扩展(非 stdlib):ext/llm、ext/agent、ext/web、ext/quantum、ext/linalg — 见 features/05-*.mq.md、06-*.mq.md、07-linalg.mq.md / 07-线性代数.mq.md 与 doc/design/ext-*.md。

中层标准库(Mid):08–12(re/encoding · path/fs · hash/secrets · csv/text · list/cli;及对应中文页)。

不放 errors/:失败样例只在 tests/errors/。

开发文档在 doc/。

浏览与生成 HTML

cargo run -- view public
cargo run -- view output public -o public

详见 user-site.md。