Files
marqdo/lib/foreign.mq.md
T
cflmyandCursor bfb10d172b feat(markup): adopt v0.3 as sole mapping (** code, * return)
Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 20:38:53 +08:00

28 lines
440 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`
+ `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*