Add bilingual public docs, keyword aliases, and frontmatter stdin for view.
English/Chinese user pages sit side by side; L0 builtins and lib/ text|表 dual APIs land with gold coverage. Capture/view input demos use stdin:/输入: so static export and first page load succeed. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fd36b92224
commit
a5d30c00b3
68 files changed
+1812
-241
No files matched your search
@@ -1,17 +1,17 @@
|
||||
---
|
||||
title: 函数与具名调用
|
||||
description: `#` 定义函数,`>` 调用;`-` 下列纯名为形参
|
||||
title: Functions and named calls
|
||||
description: `#` defines functions; `>` calls; `-` lists parameter names
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
用 `#` / `##` 定义函数。形参写在函数头下方的 `-` 纯名行。
|
||||
Use `#` / `##` for functions. Parameters are bare `- name` lines under the heading.
|
||||
|
||||
调用用 `>`:具名实参写作 `形参=值`。
|
||||
Call with `>` and named args `param=value`:
|
||||
|
||||
> 问候 谁=World
|
||||
> greet who=World
|
||||
|
||||
## 问候
|
||||
- 谁
|
||||
## greet
|
||||
- who
|
||||
|
||||
> print text=Hello `谁`!
|
||||
> print text=Hello `who`!
|
||||
Reference in new issue
Block a user