Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
503 B
503 B
title: lib/plugin — native ABI description: Load optional shared libraries (.dll / .so / .dylib)
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 = > list *
*n = > len names *
n>= 0
print text=plugin-ok
print text=plugin-bad