Files
marqdo/tests/occlusion/access-and-loop.mq.md
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

401 B

markup, title, import
markup title import
occlusion access + occlusion loop
json
lib/json.mq.md

main

表 = > json.parse text={"键":"值"} 列 = > json.parse text=["一","二"]

a = 取表项) b = [取列表第二项](access(列, 2))

print text="a=" + a print text="b=" + b

  • [篮子里的每个果子](遍历 列 为 果)

    print text="果子=" + 果