`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
356 B
356 B
title: plugin demo ABI description: Loads demo cdylib; path from MARQDO_TEST_PLUGIN (set by gold harness). import plugin:lib/plugin.mq.md import sys:lib/sys.mq.md
main
*p = > sys.env_get name=MARQDO_TEST_PLUGIN *
plugin.load path=
p
*sum = > demo_add a=1 b=2 *
print text=
sum
*echo = > demo_echo text=ok *
print text=
echo