From ec965af0a4479c5bc958c3092b07f1cebda6880c Mon Sep 17 00:00:00 2001 From: opaopa6969 Date: Fri, 23 Oct 2026 23:25:32 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20ubnfc=20=E3=81=AE=20public=20=E5=8C=96?= =?UTF-8?q?=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=81=A6=20pin=20=E3=82=92?= =?UTF-8?q?=E6=9B=B8=E3=81=8D=E6=8F=9B=E3=81=88=E5=BE=8C=E3=81=AE=20commit?= =?UTF-8?q?=20=E3=81=AB=E7=A7=BB=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ubnfc は 2026-10-23 に作者情報を書き換えた履歴で public になった(旧 repo は ubnfc-archive)。 f54d6b9 の書き換え後の commit は eb219625 で、tree は同一(e8884d07)なので、 grammar・IR・vendored ファイルの hash はすべて変わらない。 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 8 ++++++++ rust/tinyexpression-rs/src/api.rs | 2 +- rust/ubnfc-pin.txt | 2 +- .../java/org/unlaxer/tinyexpression/p4/ubnfc/UBNFC_PIN | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) 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