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>
13 lines
370 B
Markdown
13 lines
370 B
Markdown
---
|
|
title: 内置 input
|
|
description: 从 stdin 读一行;可选 prompt。可用 --stdin-file 或 live view 预置输入。
|
|
---
|
|
|
|
# main
|
|
|
|
CLI 可用管道或 --stdin-file 喂入一行;live marqdo view 在 Execution 区可填预置输入后重跑。静态站点默认无 stdin,会看到 capture 提示。
|
|
|
|
*`name` = > input prompt=Name: *
|
|
|
|
> print text=Hello `name`!
|