@bablr/language-en-bablr-vm-instruction 0.6.0 → 0.6.1

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.
@@ -1,6 +1,6 @@
1
1
  /* @macrome
2
2
  * @generatedby @bablr/macrome-generator-bablr
3
- * @generatedfrom ./spamex.grammar.macro.js#6c543e4d2cab09c937adce531cf39b3e2b97bf80
3
+ * @generatedfrom ./spamex.grammar.macro.js#50b55ad80fe83916d9ab600b27e0c4ae14fe1399
4
4
  * This file is autogenerated. Please do not edit it directly.
5
5
  * When editing run `npx macrome watch` then change the file this is generated from.
6
6
  */
@@ -28,7 +28,7 @@ export const grammar = class BABLRVMSpamexInstructionGrammar extends Instruction
28
28
  segments: [_t.s_node(_l.CSTML, "Identifier", "Spamex")]
29
29
  }, {}),
30
30
  namespaceSeparatorToken: _t.s_node(_l.CSTML, "Punctuator", ":"),
31
- type: _t.s_node(_l.CSTML, "Identifier", "Pattern"),
31
+ type: _t.s_node(_l.CSTML, "Identifier", "Matcher"),
32
32
  intrinsicValue: _t.node(_l.Regex, "Pattern", [_t.ref`openToken`, _t.ref`alternatives[]`, _t.arr(), _t.ref`alternatives[]`, _t.ref`closeToken`], {
33
33
  openToken: _t.s_node(_l.Regex, "Punctuator", "/"),
34
34
  alternatives: [_t.node(_l.Regex, "Alternative", [_t.ref`elements[]`, _t.arr(), _t.ref`elements[]`], {
@@ -8,7 +8,7 @@ export const dependencies = { ...Instruction.dependencies, Spamex };
8
8
 
9
9
  export const grammar = class BABLRVMSpamexInstructionGrammar extends Instruction.grammar {
10
10
  *Expression() {
11
- if (yield i`eatMatch(<Spamex:Pattern /[<'"/]/ />)`) {
11
+ if (yield i`eatMatch(<Spamex:Matcher /[<'"/]/ />)`) {
12
12
  // done
13
13
  } else {
14
14
  yield* super.Expression();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bablr/language-en-bablr-vm-instruction",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A BABLR language for BABLR VM instructions",
5
5
  "engines": {
6
6
  "node": ">=12.0.0"