Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
92d88fe761
commit
63e5be80ab
116 files changed
+2226
-559
No files matched your search
@@ -12,7 +12,7 @@ Bare path words must not contain a slash character (parsed as division). Prefer
|
||||
|
||||
*`ok` = > exists path=demo.txt *
|
||||
|
||||
+ `ok`
|
||||
1. `ok`
|
||||
> print text=demo-present
|
||||
+ *
|
||||
2. *
|
||||
> print text=demo-missing
|
||||
@@ -12,7 +12,7 @@ Import lib/plugin.mq.md. Functions: load(path), unload(), list(). After load, re
|
||||
|
||||
*`n` = > len `names` *
|
||||
|
||||
+ `n` >= 0
|
||||
1. `n` >= 0
|
||||
> print text=plugin-ok
|
||||
+ *
|
||||
2. *
|
||||
> print text=plugin-bad
|
||||
@@ -12,7 +12,7 @@ Import lib/sys.mq.md. Functions: env_get, env_set, load_dotenv(optional path), a
|
||||
|
||||
*`n` = > len `d` *
|
||||
|
||||
+ `n` > 0
|
||||
1. `n` > 0
|
||||
> print text=cwd-ok
|
||||
+ *
|
||||
2. *
|
||||
> print text=cwd-empty
|
||||
@@ -12,7 +12,7 @@ description: 加载可选共享库(.dll / .so / .dylib)
|
||||
|
||||
*`n` = > 长度 值=`names` *
|
||||
|
||||
+ `n` >= 0
|
||||
1. `n` >= 0
|
||||
> 打印 内容=插件就绪
|
||||
+ *
|
||||
2. *
|
||||
> 打印 内容=插件异常
|
||||
@@ -12,7 +12,7 @@ description: 沙箱内读写文本
|
||||
|
||||
*`ok` = > 存在 路径=demo.txt *
|
||||
|
||||
+ `ok`
|
||||
1. `ok`
|
||||
> 打印 内容=有演示文件
|
||||
+ *
|
||||
2. *
|
||||
> 打印 内容=无演示文件
|
||||
@@ -12,7 +12,7 @@ description: 环境变量、dotenv、工作目录、参数、退出、执行
|
||||
|
||||
*`n` = > 长度 值=`d` *
|
||||
|
||||
+ `n` > 0
|
||||
1. `n` > 0
|
||||
> 打印 内容=工作目录就绪
|
||||
+ *
|
||||
2. *
|
||||
> 打印 内容=工作目录空
|
||||
Reference in new issue
Block a user