parsanol 1.3.78-x86_64-linux → 1.3.79-x86_64-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/parsanol/3.2/parsanol_native.so +2 -2
- data/lib/parsanol/3.3/parsanol_native.so +2 -2
- data/lib/parsanol/3.4/parsanol_native.so +2 -2
- data/lib/parsanol/4.0/parsanol_native.so +2 -2
- data/lib/parsanol/native/libparsanol.so +2 -2
- data/lib/parsanol/parg/artifact.rb +9 -1
- data/lib/parsanol/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9f9d9ec490f891f2c0f15284a8b0717077d05b26c9b3d92da5e5ee5e7afad10
|
|
4
|
+
data.tar.gz: 1e84a67ca8208943b70a0b6b5c87a88dd3859e54d9d866f99d3f0fdbbfc9b19d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f87ec4ebb2e3695e64ed74b3e3cd96dac4dad466310f13b30fa4bd254a9b198278ac98996d6889b0c8a0cd4a7f89a03bdc826afcbe6fdee1a03b68736fa07e7
|
|
7
|
+
data.tar.gz: de3e6a9b1f6fe78e2facdd0cb011d2c41105decd5e98ee52841c8f5a78b948c12d265804d8f5d2c1d1a38c7f93fb21842c027d80d7438f53a8f5d0c9a58a7249
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/parsanol/3.2/parsanol_native.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40668848 bytes
|
|
4
|
+
sha256: cc55d0e67a08358e417a2dde0bac502ac6c88b206422dd1a23ba78ad893ccee6
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/parsanol/3.3/parsanol_native.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40898840 bytes
|
|
4
|
+
sha256: 242bf2e2f8840eea3ae16821dd6b8523ad340aafcc26ad8cde59047a16cf61e2
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/parsanol/3.4/parsanol_native.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40894072 bytes
|
|
4
|
+
sha256: babeebeded73599c88414f598d6748cd2bc1949cd9e6a640cb37171d2c8be62e
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/parsanol/4.0/parsanol_native.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40904000 bytes
|
|
4
|
+
sha256: 4f011761cb9c765198ed41a578bf966068507eb25e8df477d522adf6eeb966ab
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/parsanol/native/libparsanol.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 36572808 bytes
|
|
4
|
+
sha256: 1a41f8870d6eacb9630a9a9fc787d110aa2296d14fd2dfd9fd56c677370196ee
|
|
@@ -74,7 +74,15 @@ module Parsanol
|
|
|
74
74
|
# grammar JSON and re-registered it per parse (~8x).
|
|
75
75
|
# Dynamic artifacts carry ruby-tier atoms their wire
|
|
76
76
|
# cannot express — they keep the interpreter.
|
|
77
|
-
|
|
77
|
+
begin
|
|
78
|
+
return root_atom(entry_name).parse(input, mode: :native)
|
|
79
|
+
rescue Parsanol::ParseFailed
|
|
80
|
+
# The atom-tree native path reports the root position; the
|
|
81
|
+
# wire-registration path carries the deepest-failure
|
|
82
|
+
# diagnostics (parsanol-ruby#171). Failures pay the
|
|
83
|
+
# serialization once; successes keep the fast lane.
|
|
84
|
+
return Native.parse(JSON.generate(entry(entry_name).fetch("grammar")), input)
|
|
85
|
+
end
|
|
78
86
|
end
|
|
79
87
|
|
|
80
88
|
root_atom(entry_name).parse(input)
|
data/lib/parsanol/version.rb
CHANGED