diff --git a/CHANGELOG.md b/CHANGELOG.md index cee20949..873722d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Changed +- **ubnfc is now public** at https://github.com/opaopa6969/ubnfc (history rewritten on 2026-10-23; the + old private repository is kept as `ubnfc-archive`). The ubnfc pin moves from `f54d6b9` to its + rewritten counterpart `eb219625a3034c50dd4c98bc986ff42c13170737` in `UBNFC_PIN`, + `rust/ubnfc-pin.txt` and `api::UBNFC_COMMIT`. The tree is identical, so every grammar, IR and vendored + file hash is unchanged. Because ubnfc is public, the full grammar → IR → Java / Rust regeneration + check can now run anywhere with `UBNFC_DIR` pointing at a checkout. + ### Removed - **`tinyExpression-jdk17` is discontinued** (owner decision); 2.0.1 is its last release. The `tinyexpression-jdk17/` module, its CI job (JDK 17 full tests, class major 61, no release-21 unlaxer) diff --git a/rust/tinyexpression-rs/src/api.rs b/rust/tinyexpression-rs/src/api.rs index ff0d2e87..6506ed10 100644 --- a/rust/tinyexpression-rs/src/api.rs +++ b/rust/tinyexpression-rs/src/api.rs @@ -37,7 +37,7 @@ pub const EXIT_INTERNAL: u8 = 70; pub const VERSION: &str = env!("CARGO_PKG_VERSION"); /// The ubnfc commit the vendored parsers were generated from. `rust/check-generated.sh` /// fails when it differs from `ubnfc_commit` in `rust/ubnfc-pin.txt`. -pub const UBNFC_COMMIT: &str = "f54d6b90466ffde14066d32f911ed642b1e49201"; +pub const UBNFC_COMMIT: &str = "eb219625a3034c50dd4c98bc986ff42c13170737"; /// Exact P4 grammar source identity; checked against `rust/ubnfc-pin.txt` in CI. pub const GRAMMAR_SHA256: &str = "a40d6f5f57c3b3a67e0c627bfc99c603304593087cf428b50bb85754e23f4daf"; diff --git a/rust/ubnfc-pin.txt b/rust/ubnfc-pin.txt index d8697158..43d46a5b 100644 --- a/rust/ubnfc-pin.txt +++ b/rust/ubnfc-pin.txt @@ -1,5 +1,5 @@ # Generated by rust/scripts/regenerate-ubnfc.sh --write; do not edit hashes by hand. -ubnfc_commit=f54d6b90466ffde14066d32f911ed642b1e49201 +ubnfc_commit=eb219625a3034c50dd4c98bc986ff42c13170737 grammar=tools/tinyexpression-p4-lsp-vscode/grammar/tinyexpression-p4.ubnf grammar_sha256=a40d6f5f57c3b3a67e0c627bfc99c603304593087cf428b50bb85754e23f4daf grammar_file 28bcfc9f2e684b7326561f281155a1d0140dc67145d178764841bc7dc87a81cb grammar/formula-info.ubnf diff --git a/src/main/java/org/unlaxer/tinyexpression/p4/ubnfc/UBNFC_PIN b/src/main/java/org/unlaxer/tinyexpression/p4/ubnfc/UBNFC_PIN index 7e9376a1..499dda25 100644 --- a/src/main/java/org/unlaxer/tinyexpression/p4/ubnfc/UBNFC_PIN +++ b/src/main/java/org/unlaxer/tinyexpression/p4/ubnfc/UBNFC_PIN @@ -2,7 +2,7 @@ # Written by scripts/regenerate-ubnfc-parser.sh --write. Do not edit by hand. # Chain: grammar --(ubnfc front, Rust)--> IR --(ubnfc-java)--> org.unlaxer.tinyexpression.p4.ubnfc.generated ubnfc_repository=https://github.com/opaopa6969/ubnfc -ubnfc_commit=f54d6b90466ffde14066d32f911ed642b1e49201 +ubnfc_commit=eb219625a3034c50dd4c98bc986ff42c13170737 grammar=tools/tinyexpression-p4-lsp-vscode/grammar/tinyexpression-p4.ubnf grammar_sha256=a40d6f5f57c3b3a67e0c627bfc99c603304593087cf428b50bb85754e23f4daf grammar_file 492cafad9f8f3278480d862d0f1fadeb5f61bf5c627b8072b32f6d90c91d3ff1 scripts/prepare-ubnfc-layout.py