expressir 2.4.56-arm-linux → 2.4.57-arm-linux
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/lib/expressir/3.2/expressir_core.so +0 -0
- data/lib/expressir/3.3/expressir_core.so +0 -0
- data/lib/expressir/3.4/expressir_core.so +0 -0
- data/lib/expressir/4.0/expressir_core.so +0 -0
- data/lib/expressir/express/grammar/parser.rb +20 -0
- data/lib/expressir/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6148eb6cc79eb848d5e80ec39052144f2feda56616a2e900def7201cdf7d8343
|
|
4
|
+
data.tar.gz: 653b7d92651dc37a9b4a545025fbd867233b4248178a048c83b5cc22dd6db6ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b179819ec580678d4db4de0038c70bed6da4a942a6dfe3c5ea40a85e770a94f6a1adddc9fcbd995fb637c1beb7b42d73bcf51f3cea2b619b3dc7b10ce4cf9611
|
|
7
|
+
data.tar.gz: 3dda5e2bfaba252fb7300ed276e76c4f5016fe3fafd1a62c72c0c98bed3520e305ec056d4f881d321ea1dd2f1ab6d2593ee769aa79133295c491a4750646b516
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -103,6 +103,15 @@ module Expressir
|
|
|
103
103
|
@cached_schema_grammar_json
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
+
# Lane retirement (expressir#587): EXPRESSIR_DISABLE_RUBY_PARSE
|
|
107
|
+
# turns the Ruby parse lanes (the artifact replay and the DSL
|
|
108
|
+
# evaluation) into hard failures, so the suite can prove the
|
|
109
|
+
# native lane stands alone. The lanes remain emergency
|
|
110
|
+
# fallbacks without the env.
|
|
111
|
+
def self.ruby_parse_disabled?
|
|
112
|
+
ENV["EXPRESSIR_DISABLE_RUBY_PARSE"] == "1"
|
|
113
|
+
end
|
|
114
|
+
|
|
106
115
|
# Parse using native engine with Rust-side transformation (fastest)
|
|
107
116
|
#
|
|
108
117
|
# This method provides ~17x speedup over pure Ruby parsing.
|
|
@@ -151,6 +160,10 @@ module Expressir
|
|
|
151
160
|
PARG_COMPONENTS_DIR = File.join(__dir__, "parg")
|
|
152
161
|
|
|
153
162
|
def self.parse_artifact(source)
|
|
163
|
+
if ruby_parse_disabled?
|
|
164
|
+
raise NotImplementedError,
|
|
165
|
+
"Ruby parse lanes disabled (EXPRESSIR_DISABLE_RUBY_PARSE)"
|
|
166
|
+
end
|
|
154
167
|
raise LoadError, "Edition-2 artifact not available" unless artifact_available?
|
|
155
168
|
|
|
156
169
|
@parser_mutex.synchronize do
|
|
@@ -168,8 +181,15 @@ module Expressir
|
|
|
168
181
|
# The Ruby-lane parse: the edition-2 artifact first, the DSL
|
|
169
182
|
# parser as fallback (issue #578 STEP 4).
|
|
170
183
|
def self.parse_ruby(source)
|
|
184
|
+
if ruby_parse_disabled?
|
|
185
|
+
raise NotImplementedError,
|
|
186
|
+
"Ruby parse lanes disabled (EXPRESSIR_DISABLE_RUBY_PARSE)"
|
|
187
|
+
end
|
|
188
|
+
|
|
171
189
|
parse_artifact(source)
|
|
172
190
|
rescue StandardError, NotImplementedError
|
|
191
|
+
raise if ruby_parse_disabled?
|
|
192
|
+
|
|
173
193
|
cached_parser.parse(source)
|
|
174
194
|
end
|
|
175
195
|
|
data/lib/expressir/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: expressir
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.57
|
|
5
5
|
platform: arm-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|