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>
362 B
362 B
title, description, markup
| title | description | markup |
|---|---|---|
| v0.3 加一(叙述统一动机例) | 叙述声明 `n`;粗体赋值;斜体返回;`>` 调用后打印返回值 | v0.3 |
加一函数
对于输入变量n,我们执行操作n=n+1接着返回n。
main
我要调用加一函数可以采用这样的办法:
结果 = > 加一函数 37 print text=结果