@plurnk/plurnk-grammar 0.74.17 → 0.74.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plurnk.md +6 -5
package/package.json
CHANGED
package/plurnk.md
CHANGED
|
@@ -17,13 +17,13 @@ The `(target)` is required for every operation except PLAN, EXEC, and SEND. Othe
|
|
|
17
17
|
| OP | `[signal]` | `(target)` | `<Line> / <Result>` | body |
|
|
18
18
|
|------|-------------|------------|---------------------|------------------|
|
|
19
19
|
| PLAN | - | - | - | plan / reasoning |
|
|
20
|
-
| FIND | filter tags | path | results `N,M` |
|
|
21
|
-
| READ | filter tags | path | lines `N,M` |
|
|
20
|
+
| FIND | filter tags | path | results `N,M` | pattern |
|
|
21
|
+
| READ | filter tags | path | lines `N,M` | pattern |
|
|
22
22
|
| EDIT | tags | path | lines `N,M` | content |
|
|
23
23
|
| COPY | apply tags | path | lines `N,M` | destination path |
|
|
24
24
|
| MOVE | apply tags | path | lines `N,M` | destination path |
|
|
25
|
-
| OPEN | filter tags | path (log) | results `N,M` |
|
|
26
|
-
| FOLD | filter tags | path (log) | results `N,M` |
|
|
25
|
+
| OPEN | filter tags | path (log) | results `N,M` | pattern |
|
|
26
|
+
| FOLD | filter tags | path (log) | results `N,M` | pattern |
|
|
27
27
|
| EXEC | executor | path / cwd | - | command or code |
|
|
28
28
|
| KILL | signal | path | - | - |
|
|
29
29
|
| SEND | status code | recipient | - | message body |
|
|
@@ -37,7 +37,8 @@ KILL deletes entries, erases log items, and kills streams.
|
|
|
37
37
|
|
|
38
38
|
### `<Line> / <Result>`
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
`<<READ(file.md)<N>::READ` selects line N
|
|
41
|
+
`<<FIND(src/**)<N>::FIND` selects result N
|
|
41
42
|
`<N,M>` selects the inclusive range N through M. N and M are signed numbers.
|
|
42
43
|
|
|
43
44
|
Sentinels: `<0>` before position 1 (prepend), `<-1>` after the last position (append).
|