Files
marqdo/public/stdlib/plugin.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

526 B


title: lib/plugin — native ABI description: Load optional shared libraries (.dll / .so / .dylib) import plugin:lib/plugin.mq.md

main

Import lib/plugin.mq.md. Functions: load(path), unload(), list(). After load, registered plugin names are callable like other functions. C ABI: include/marqdo_abi.h — see doc/design/ext-abi.md. Path must stay under the program sandbox (cwd / fs root).

**names = > plugin.list **

**n = > len names **

  1. n >= 0

print text=plugin-ok

print text=plugin-bad