Files
marqdo/public/keywords/input.mq.md
T
cflmyandCursor 30cd39fd8f Add diagnostics spans, CLI/view input feeding, and len/str/int builtins.
Unify bytecode errors with path:line:col, support --stdin-file and live view preset stdin, and ship the S0 standard library with gold coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 17:26:09 +08:00

370 B

title, description
title description
内置 input 从 stdin 读一行;可选 prompt。可用 --stdin-file 或 live view 预置输入。

main

CLI 可用管道或 --stdin-file 喂入一行;live marqdo view 在 Execution 区可填预置输入后重跑。静态站点默认无 stdin,会看到 capture 提示。

*name = > input prompt=Name: *

print text=Hello name!