asciichem 0.31.17 → 1.0.0.0
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/CHANGELOG.md +10 -0
- data/benchmarks/parg_recheck.rb +1 -1
- data/lib/asciichem/engine/parg_engine.rb +2 -2
- data/lib/asciichem/engine.rb +1 -1
- data/lib/asciichem/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: 1bd4b9584ac1e0126a98efc020036d2532a9567f8f1cfb0107e66b9c15680135
|
|
4
|
+
data.tar.gz: 6c284fa95ed81aa18328046d02863f709113cb27aaaa2a9fe29a81fbe8cf6586
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e047c4735a8ddf3a5f8c9afb36384a3b7b7f4e65be6a855bfa6b0a24bed4f5e19197f21ca30e37064809f4655d0fed5345bcf2166c087c643f10de48f5f552e3
|
|
7
|
+
data.tar.gz: db2212af6d815e7caa68facc95b636fb43f6ba7f50659d32fbc09050d7caefda4852b2664d66a364c646b8468d336a106b0d76d46357d9cc887d72d9044e66b8
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to AsciiChem are documented here.
|
|
4
4
|
This project follows [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [1.0.0.0] - 2026-11-13
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- **The gem renumbers onto the 1.0.0 engine.** The version scheme is
|
|
10
|
+
`{engine-semver}.{runtime-increment}`: the asciichem-rs engine is
|
|
11
|
+
1.0.0 and the gem's increment resets at the new engine major
|
|
12
|
+
(maintainer's call). The 0.31.x line was the pre-Rust gem line;
|
|
13
|
+
every future gem release derives from the engine semver. Was
|
|
14
|
+
0.31.17.
|
|
15
|
+
|
|
6
16
|
## [0.31.17] - 2026-11-13
|
|
7
17
|
|
|
8
18
|
### Added
|
data/benchmarks/parg_recheck.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# PARG gate + benchmark: AsciiChem::Engine.use(:parg) parses through
|
|
4
|
-
# the compiled PARG artifact vendored from asciichem-
|
|
4
|
+
# the compiled PARG artifact vendored from asciichem-grammar, adapted to
|
|
5
5
|
# the shared TransformRules. (1) gates on the shared corpus, forked
|
|
6
6
|
# per case so a native crash aborts the child — reported, not fatal;
|
|
7
7
|
# (2) gates on capture completeness (a grammar edit leaving a
|
|
@@ -15,7 +15,7 @@ end
|
|
|
15
15
|
module AsciiChem
|
|
16
16
|
module Engine
|
|
17
17
|
# The PARG engine: parses through the compiled AsciiChem PARG
|
|
18
|
-
# artifact (grammar/asciichem.parg in asciichem-
|
|
18
|
+
# artifact (grammar/asciichem.parg in asciichem-grammar, vendored at
|
|
19
19
|
# lib/asciichem/engine/parg/asciichem.json) and adapts its parse
|
|
20
20
|
# tree to the DSL shapes TransformRules consumes. The shared
|
|
21
21
|
# conformance corpus passes model-identically (227/227) against
|
|
@@ -171,7 +171,7 @@ module AsciiChem
|
|
|
171
171
|
raise NotAvailableError,
|
|
172
172
|
"vendored PARG artifact version #{version.inspect} does not match " \
|
|
173
173
|
"the engine's pinned grammar #{PARG_GRAMMAR_VERSION.inspect} — " \
|
|
174
|
-
're-vendor from asciichem-
|
|
174
|
+
're-vendor from asciichem-grammar'
|
|
175
175
|
end
|
|
176
176
|
end
|
|
177
177
|
end
|
data/lib/asciichem/engine.rb
CHANGED
|
@@ -5,7 +5,7 @@ module AsciiChem
|
|
|
5
5
|
# slice 9; the maintainer's PARG-only directive). The legacy
|
|
6
6
|
# parslet and DSL-parsanol engines are deleted — the checksummed
|
|
7
7
|
# AsciiChem PARG artifact (vendored at engine/parg/asciichem.json,
|
|
8
|
-
# sourced from asciichem-
|
|
8
|
+
# sourced from asciichem-grammar) is the one grammar, and
|
|
9
9
|
# PargEngine adapts its tree to the DSL shapes TransformRules
|
|
10
10
|
# consumes.
|
|
11
11
|
module Engine
|
data/lib/asciichem/version.rb
CHANGED