Files
marqdo/lib/foreign.mq.md
T
cflmyandCursor 63e5be80ab Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
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>
2026-08-06 17:52:33 +08:00

26 lines
382 B
Markdown

---
title: lib/foreign
description: Run bound code fences and inline sources via local interpreters
---
## set_cmd
+ `lang`
+ `cmd`
**> host_foreign_set_cmd lang=`lang` cmd=`cmd`**
## run
+ `code`
**> host_foreign_run code=`code`**
## run_lang
+ `lang`
+ `source`
**> host_foreign_run_lang lang=`lang` source=`source`**
## langs
**> host_foreign_langs**