Files
marqdo/lib/foreign.mq.md
T
cflmyandCursor 1f23e2ed93 Add module namespaces and harden L1/agent after the import redesign.
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:28:32 +08:00

448 B

title, description
title description
lib/foreign Run bound code fences and inline sources via local interpreters

set_cmd

+ `lang`
+ `cmd`

> host_foreign_set_cmd lang=lang cmd=cmd

run

+ `code`
+ `stdin`=None

> host_foreign_run code=code stdin=stdin

run_lang

+ `lang`
+ `source`
+ `stdin`=None

> host_foreign_run_lang lang=lang source=source stdin=stdin

langs

> host_foreign_langs