occam-furtle 3.0.44 → 3.0.45

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "occam-furtle",
3
3
  "author": "James Smith",
4
- "version": "3.0.44",
4
+ "version": "3.0.45",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/occam-furtle",
7
7
  "description": "Occam's Furtle language.",
@@ -24,7 +24,7 @@
24
24
  "esbuild": "0.11.14",
25
25
  "express": "^4.17.1",
26
26
  "juxtapose": "^4.0.130",
27
- "occam-nominal": "^0.0.5",
27
+ "occam-nominal": "^0.0.7",
28
28
  "occam-model": "^1.0.492",
29
29
  "lively-cli": "^2.0.77",
30
30
  "watchful-cli": "^1.7.67",
@@ -2,6 +2,8 @@
2
2
 
3
3
  const { FileContext, contextUtilities } = require("occam-languages");
4
4
 
5
+ const { nominalLexer, nominalParser } = require("../../helpers/nominal");
6
+
5
7
  const { chainContext } = contextUtilities;
6
8
 
7
9
  class NominalFileContext extends FileContext {
@@ -17,6 +19,18 @@ class NominalFileContext extends FileContext {
17
19
  return procedures;
18
20
  }
19
21
 
22
+ getLexer() {
23
+ const lexer = nominalLexer; ///
24
+
25
+ return lexer;
26
+ }
27
+
28
+ getParser() {
29
+ const parser = nominalParser;
30
+
31
+ return parser;
32
+ }
33
+
20
34
  clear() {
21
35
  ///
22
36
  }