@shapeshift-labs/frontier-lang-parser 0.3.87 → 0.3.88

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,7 +1,7 @@
1
1
  const appRows = words('role sourcePath path sourceHash host hostId mount provide provides required requires require route event asset gate gap proofGap evidence proofEvidence');
2
2
  const canvasRows = words('sourcePath path sourceHash element command state stateWrite trace gap proofGap evidence proofEvidence');
3
3
  const constraintRows = words('variable var constraint hard soft preference prefer collapse admission');
4
- const dialectRows = words('dialect record extern');
4
+ const dialectRows = words('language sourceLanguage sourcePath path sourceHash dialect record extern');
5
5
  const interlinguaRows = words('layer constraint constraintEdge edge obligation proofObligation proof lowering lower source sourceLift lift evidence');
6
6
  const machineRows = words('label directive register reg flag conditionFlag basicBlock block instruction inst instr op opcode operand arg memoryEffect memoryAccess load store atomic fence memory mem effect controlEdge edge branch call return ret interrupt irq exception proof proofObligation obligation gap proofGap evidence proofEvidence');
7
7
  const migrationRows = words('from fromVersion to toVersion change invariant invariants');
@@ -75,6 +75,8 @@ function normalizeInterlinguaRow(rowKind) {
75
75
  }
76
76
 
77
77
  function normalizeDialectRegistryRow(rowKind) {
78
+ if (rowKind === 'sourceLanguage') return 'language';
79
+ if (rowKind === 'path') return 'sourcePath';
78
80
  if (rowKind === 'record') return 'dialect';
79
81
  return rowKind;
80
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshift-labs/frontier-lang-parser",
3
- "version": "0.3.87",
3
+ "version": "0.3.88",
4
4
  "description": "Parser for the first Frontier Lang .frontier syntax slice.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",