parsanol 1.3.30-x86_64-linux → 1.3.31-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2845143e91cd78a3ae7113fb15f78665b8488088486678a1de398429836641c8
4
- data.tar.gz: e850b39e2f5fa92717829dc4eb73ff16280b434addbe5ad3d31309278c9314a8
3
+ metadata.gz: 9edf7eab703d5a9d209d01ac53f3317eed66a11428fbb2a14fa7a4d48198b177
4
+ data.tar.gz: 264468da4e588dc83cf09e9b56e718ebbc590fe2bcf7b024f6b94aa49d4e7bd8
5
5
  SHA512:
6
- metadata.gz: b8ed1ad6814b18347f14db637ff2a64a086dcf4512f701516de4d257d84ee644aed5b7312a0d5f7640c4293a0be882bc2c377bef1c5db8aea33d80a5c3fd27c4
7
- data.tar.gz: c6c96af91832a468095eced0be4427574e5783787e495c8b7a240618ca95f6ca8b3a0c94a29e7884a9712b064b4e3d64a239b3dabf123f41f483bcaa84401545
6
+ metadata.gz: b086cbf714ce514d7f557bd57fc26a90562dbbe0a1d845868f9fe3fb27e6ad90872573855837e78a7525fdf6dee80765b4d980901daca21f9411e10ed5e2e3b0
7
+ data.tar.gz: 65274b8199f6ab6624a2ae77898f9d71dd8db82fe35aaaaf486e2d291ca58ec46439caf8351289e96223b46ad3e3e1d6072c8d1b1a206862e002fca659370a67
data/README.adoc CHANGED
@@ -156,6 +156,24 @@ Run your own benchmarks with:
156
156
  bundle exec ruby examples/benchmark_examples.rb
157
157
  ----
158
158
 
159
+ [[engine-posture]]
160
+ ==== Engine roles
161
+
162
+ Parsanol ships two engines with one semantic contract (identical parse
163
+ trees and error messages):
164
+
165
+ * **Native (default)** — the Rust extension. It handles every parsing
166
+ mode, including error cause trees, `prefix:` and `reporter:`, with no
167
+ Ruby fallback during parsing. Prebuilt platform gems cover the common
168
+ triples; `bundle exec rake compile` builds it locally otherwise.
169
+ * **Ruby (`mode: :ruby`)** — the pure-Ruby engine. Its role is
170
+ portability (no prebuilt gem, no Rust toolchain, non-MRI rubies) and
171
+ serving as the semantic reference implementation for differential
172
+ testing against Parslet.
173
+
174
+ When both are available, the native engine is always used unless
175
+ `mode: :ruby` is requested explicitly.
176
+
159
177
  [[slice-support]]
160
178
  === Slice Support
161
179
 
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.30"
4
+ VERSION = "1.3.31"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.30
4
+ version: 1.3.31
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Ribose Inc.