expressir 2.4.48 → 2.4.50
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.
- checksums.yaml +4 -4
- data/docs/_guides/reference/grammar-crosswalk.adoc +1 -0
- data/expressir.gemspec +1 -1
- data/grammar-parg/atoms_to_parg.rb +2 -2
- data/grammar-parg/express-grammar.artifact.json +1 -1
- data/grammar-parg/express-grammar.parg +2 -1
- data/lib/expressir/express/grammar/express-grammar.artifact.json +1 -1
- data/lib/expressir/express/grammar/parser.rb +17 -1
- data/lib/expressir/reference/grammar_crosswalk.yml +3 -0
- data/lib/expressir/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90ddc1f6b8ece3a7f1074540a2d46480fad7c837c64dc32b2865314ff0059e0f
|
|
4
|
+
data.tar.gz: 05d3b37d067a5b8dc5c8f4834daf2a16c6883e969cd9e37f6a80bb387c31e70b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c0c350006517a964b7be679506ba87f08e64cc142cfd474a7de12af698c4d4a74175f27e4d76b9dcaba7e7ba56e3a7a776edc6e82d8d652b3ed6c1941b0d033
|
|
7
|
+
data.tar.gz: f6915710896bc00f4431abb830efbe0d2a60f8f04071d03a66077fd2a7ff5741111e4d2d43ebb6e86591f38d7264de3ef6b7525466f1c0d8ce1059f90487f0ca
|
|
@@ -230,6 +230,7 @@ grammar are classified with one of these statuses:
|
|
|
230
230
|
| `simpleFactorExpression` | simple_factor | decomposed |
|
|
231
231
|
| `simpleFactorUnaryExpression` | simple_factor | decomposed |
|
|
232
232
|
| `simpleId` | simple_id | aligned |
|
|
233
|
+
| `unguardedId` | simple_id | aligned |
|
|
233
234
|
| `simpleStringLiteral` | simple_string_literal | aligned |
|
|
234
235
|
| `simpleTypes` | simple_types | aligned |
|
|
235
236
|
| `skipStmt` | skip_stmt | aligned |
|
data/expressir.gemspec
CHANGED
|
@@ -50,7 +50,7 @@ Gem::Specification.new do |spec|
|
|
|
50
50
|
# 0.8.151 is the first lutaml-model whose moxml constraint (>= 0.5.139,
|
|
51
51
|
# < 0.7) admits the moxml 0.6 line; earlier releases pin moxml
|
|
52
52
|
# ~> 0.5.139 and cannot co-resolve with the moxml floor below.
|
|
53
|
-
spec.add_dependency "lutaml-model", "~> 0.8.
|
|
53
|
+
spec.add_dependency "lutaml-model", "~> 0.8.159"
|
|
54
54
|
spec.add_dependency "moxml", "~> 0.6.0"
|
|
55
55
|
spec.add_dependency "paint"
|
|
56
56
|
spec.add_dependency "parsanol", "~> 1.3.123"
|
|
@@ -21,9 +21,9 @@ def puts(*); end
|
|
|
21
21
|
parser = Expressir::Express::Grammar::Parser.cached_parser
|
|
22
22
|
|
|
23
23
|
SKIP_RULE = "space"
|
|
24
|
-
ATOMIC_RULES = %w[simpleId digits spaces space embeddedRemark tailRemark].freeze
|
|
24
|
+
ATOMIC_RULES = %w[simpleId unguardedId digits spaces space embeddedRemark tailRemark].freeze
|
|
25
25
|
RULE_NAMES = File.read(File.join(__dir__, "RULE-INVENTORY.txt"))
|
|
26
|
-
.scan(/^\[ \] (\w+)$/).flatten + ["syntax"] +
|
|
26
|
+
.scan(/^\[ \] (\w+)$/).flatten + ["syntax"] + ["unguardedId"] +
|
|
27
27
|
KEYWORDS.map { |kw| "t#{kw}" }
|
|
28
28
|
|
|
29
29
|
REJECTED = Hash.new(0)
|