@plurnk/plurnk-grammar 0.74.49 → 0.74.51
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/dist/plurnk.gbnf +30 -3
- package/package.json +1 -1
- package/plurnk.md +3 -3
package/dist/plurnk.gbnf
CHANGED
|
@@ -238,9 +238,36 @@ rz-chan-b9 ::= ("<" rz-chan-b1 | [^\x00-\x08\x0B-\x0C\x0E-\x1F\x7F<>] rz-chan-b0
|
|
|
238
238
|
think-block ::= "<think>" rz-think-b0 "</think>"
|
|
239
239
|
channel-block ::= "<|channel>" rz-chan-b0 "<channel|>"
|
|
240
240
|
reasoning ::= think-block | channel-block
|
|
241
|
-
tail-clean ::= send-mid-any sep tail-clean | op-statement sep tail-clean | retrieval-op sep tail-dirty | send-final-any sep
|
|
242
|
-
tail-
|
|
243
|
-
|
|
241
|
+
tail-clean-0 ::= send-mid-any sep tail-clean-1 | op-statement sep tail-clean-1 | retrieval-op sep tail-dirty-1 | send-final-any sep
|
|
242
|
+
tail-clean-1 ::= send-mid-any sep tail-clean-2 | op-statement sep tail-clean-2 | retrieval-op sep tail-dirty-2 | send-final-any sep
|
|
243
|
+
tail-dirty-1 ::= send-mid-any sep tail-dirty-2 | op-statement sep tail-dirty-2 | retrieval-op sep tail-dirty-2 | send-final-nodone sep
|
|
244
|
+
tail-clean-2 ::= send-mid-any sep tail-clean-3 | op-statement sep tail-clean-3 | retrieval-op sep tail-dirty-3 | send-final-any sep
|
|
245
|
+
tail-dirty-2 ::= send-mid-any sep tail-dirty-3 | op-statement sep tail-dirty-3 | retrieval-op sep tail-dirty-3 | send-final-nodone sep
|
|
246
|
+
tail-clean-3 ::= send-mid-any sep tail-clean-4 | op-statement sep tail-clean-4 | retrieval-op sep tail-dirty-4 | send-final-any sep
|
|
247
|
+
tail-dirty-3 ::= send-mid-any sep tail-dirty-4 | op-statement sep tail-dirty-4 | retrieval-op sep tail-dirty-4 | send-final-nodone sep
|
|
248
|
+
tail-clean-4 ::= send-mid-any sep tail-clean-5 | op-statement sep tail-clean-5 | retrieval-op sep tail-dirty-5 | send-final-any sep
|
|
249
|
+
tail-dirty-4 ::= send-mid-any sep tail-dirty-5 | op-statement sep tail-dirty-5 | retrieval-op sep tail-dirty-5 | send-final-nodone sep
|
|
250
|
+
tail-clean-5 ::= send-mid-any sep tail-clean-6 | op-statement sep tail-clean-6 | retrieval-op sep tail-dirty-6 | send-final-any sep
|
|
251
|
+
tail-dirty-5 ::= send-mid-any sep tail-dirty-6 | op-statement sep tail-dirty-6 | retrieval-op sep tail-dirty-6 | send-final-nodone sep
|
|
252
|
+
tail-clean-6 ::= send-mid-any sep tail-clean-7 | op-statement sep tail-clean-7 | retrieval-op sep tail-dirty-7 | send-final-any sep
|
|
253
|
+
tail-dirty-6 ::= send-mid-any sep tail-dirty-7 | op-statement sep tail-dirty-7 | retrieval-op sep tail-dirty-7 | send-final-nodone sep
|
|
254
|
+
tail-clean-7 ::= send-mid-any sep tail-clean-8 | op-statement sep tail-clean-8 | retrieval-op sep tail-dirty-8 | send-final-any sep
|
|
255
|
+
tail-dirty-7 ::= send-mid-any sep tail-dirty-8 | op-statement sep tail-dirty-8 | retrieval-op sep tail-dirty-8 | send-final-nodone sep
|
|
256
|
+
tail-clean-8 ::= send-mid-any sep tail-clean-9 | op-statement sep tail-clean-9 | retrieval-op sep tail-dirty-9 | send-final-any sep
|
|
257
|
+
tail-dirty-8 ::= send-mid-any sep tail-dirty-9 | op-statement sep tail-dirty-9 | retrieval-op sep tail-dirty-9 | send-final-nodone sep
|
|
258
|
+
tail-clean-9 ::= send-mid-any sep tail-clean-10 | op-statement sep tail-clean-10 | retrieval-op sep tail-dirty-10 | send-final-any sep
|
|
259
|
+
tail-dirty-9 ::= send-mid-any sep tail-dirty-10 | op-statement sep tail-dirty-10 | retrieval-op sep tail-dirty-10 | send-final-nodone sep
|
|
260
|
+
tail-clean-10 ::= send-mid-any sep tail-clean-11 | op-statement sep tail-clean-11 | retrieval-op sep tail-dirty-11 | send-final-any sep
|
|
261
|
+
tail-dirty-10 ::= send-mid-any sep tail-dirty-11 | op-statement sep tail-dirty-11 | retrieval-op sep tail-dirty-11 | send-final-nodone sep
|
|
262
|
+
tail-clean-11 ::= send-mid-any sep tail-clean-12 | op-statement sep tail-clean-12 | retrieval-op sep tail-dirty-12 | send-final-any sep
|
|
263
|
+
tail-dirty-11 ::= send-mid-any sep tail-dirty-12 | op-statement sep tail-dirty-12 | retrieval-op sep tail-dirty-12 | send-final-nodone sep
|
|
264
|
+
tail-clean-12 ::= send-mid-any sep tail-clean-13 | op-statement sep tail-clean-13 | retrieval-op sep tail-dirty-13 | send-final-any sep
|
|
265
|
+
tail-dirty-12 ::= send-mid-any sep tail-dirty-13 | op-statement sep tail-dirty-13 | retrieval-op sep tail-dirty-13 | send-final-nodone sep
|
|
266
|
+
tail-clean-13 ::= send-mid-any sep tail-clean-14 | op-statement sep tail-clean-14 | retrieval-op sep tail-dirty-14 | send-final-any sep
|
|
267
|
+
tail-dirty-13 ::= send-mid-any sep tail-dirty-14 | op-statement sep tail-dirty-14 | retrieval-op sep tail-dirty-14 | send-final-nodone sep
|
|
268
|
+
tail-clean-14 ::= send-final-any sep
|
|
269
|
+
tail-dirty-14 ::= send-final-nodone sep
|
|
270
|
+
root-turn ::= reasoning? preplan plan sep tail-clean-0
|
|
244
271
|
op-statement-6 ::= tags? target line? ":" copy-1-b0 ":COPY1"
|
|
245
272
|
op-statement-7 ::= tags? target line? ":" copy-2-b0 ":COPY2"
|
|
246
273
|
op-statement-5 ::= tags? target line? ":" copy-b0 ":COPY" | "1" op-statement-6 | "2" op-statement-7
|
package/package.json
CHANGED
package/plurnk.md
CHANGED
|
@@ -114,6 +114,9 @@ Body content is character-perfect, exactly matching whitespace.
|
|
|
114
114
|
|
|
115
115
|
## Imperatives
|
|
116
116
|
|
|
117
|
+
To spawn a separate run: <<COPY(run://capital-checker):List the capitals in: known:///continents/europe:COPY
|
|
118
|
+
To fork the current run: <<COPY(run://self):Re-derive the capital from a primary source.:COPY
|
|
119
|
+
|
|
117
120
|
YOU MUST ONLY use EXEC for actions that can't be performed with other Plurnk OPs.
|
|
118
121
|
YOU SHOULD document all relevant questions and uncertainties into taxonomized, tagged, and topical unknown:/// entries.
|
|
119
122
|
YOU SHOULD distill source information into taxonomized, tagged, and topical known:/// entries.
|
|
@@ -124,9 +127,6 @@ YOU MUST terminate the turn by SENDing a message to the user with the proper sta
|
|
|
124
127
|
* 202: submit a hibernation turn with status code 202: <<SEND[202]:Awaiting streams and worker responses.:SEND
|
|
125
128
|
* 499: submit a failed loop with status code 499: <<SEND[499]:Aborted: Unrecoverable internal error:SEND
|
|
126
129
|
|
|
127
|
-
To spawn a separate run: <<COPY(run://capital-checker):List the capitals in: known:///continents/europe:COPY
|
|
128
|
-
To fork the current run: <<COPY(run://self):Re-derive the capital from a primary source.:COPY
|
|
129
|
-
|
|
130
130
|
## Examples
|
|
131
131
|
|
|
132
132
|
* <<FIND(config/**/*.xml)://user[@role='admin']:FIND
|