diff --git a/CHANGES.md b/CHANGES.md index 4d4e280ef..2303f1602 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,17 @@ +# grmtools 0.15.0 (2026-07-20) + +## Breaking changes + +* Move from `bincode` to `wincode` for serialisation. This also changes the + feature name that grmtools exposes, hence the major version bump. + +## Other changes + +* Use the correct default for `DEFAULT_LEX_FLAGS.case_insensitive`. + +* Add documentation for the syntax lrlex supports. + + # grmtools 0.14.2 (2026-04-30) * Only initialise internal parser state once at run-time. For programs that diff --git a/cfgrammar/Cargo.toml b/cfgrammar/Cargo.toml index db35d3fa2..468ce87a1 100644 --- a/cfgrammar/Cargo.toml +++ b/cfgrammar/Cargo.toml @@ -2,7 +2,7 @@ name = "cfgrammar" description = "Grammar manipulation" repository = "https://github.com/softdevteam/grmtools" -version = "0.14.2" +version = "0.15.0" edition = "2024" readme = "README.md" license = "Apache-2.0/MIT" diff --git a/doc/src/quickstart.md b/doc/src/quickstart.md index eaa281d0e..75b5407e1 100644 --- a/doc/src/quickstart.md +++ b/doc/src/quickstart.md @@ -30,14 +30,14 @@ doc = false name = "calc" [build-dependencies] -cfgrammar = "0.13" -lrlex = "0.13" -lrpar = "0.13" +cfgrammar = "0.15" +lrlex = "0.15" +lrpar = "0.15" [dependencies] -cfgrammar = "0.13" -lrlex = "0.13" -lrpar = "0.13" +cfgrammar = "0.15" +lrlex = "0.15" +lrpar = "0.15" ``` In this situation we want to statically compile the `.y` grammar and `.l` lexer diff --git a/lrlex/Cargo.toml b/lrlex/Cargo.toml index d9c043ec6..51bebf05d 100644 --- a/lrlex/Cargo.toml +++ b/lrlex/Cargo.toml @@ -2,7 +2,7 @@ name = "lrlex" description = "Simple lexer generator" repository = "https://github.com/softdevteam/grmtools" -version = "0.14.2" +version = "0.15.0" edition = "2024" readme = "README.md" license = "Apache-2.0/MIT" @@ -24,8 +24,8 @@ _unsealed_unstable_traits = ["_unstable_api"] vergen = { version = "8", default-features = false, features = ["build"] } [dependencies] -cfgrammar = { path = "../cfgrammar", version = "0.14" } -lrpar = { path = "../lrpar", version = "0.14" } +cfgrammar = { path = "../cfgrammar", version = "0.15" } +lrpar = { path = "../lrpar", version = "0.15" } getopts.workspace = true regex.workspace = true diff --git a/lrpar/Cargo.toml b/lrpar/Cargo.toml index e17460b9d..c0f8ab57a 100644 --- a/lrpar/Cargo.toml +++ b/lrpar/Cargo.toml @@ -2,7 +2,7 @@ name = "lrpar" description = "Yacc-compatible parser generator" repository = "https://github.com/softdevteam/grmtools" -version = "0.14.2" +version = "0.15.0" edition = "2024" readme = "README.md" license = "Apache-2.0/MIT" @@ -23,8 +23,8 @@ _unsealed_unstable_traits = ["_unstable_api"] vergen = { version = "8", default-features = false, features = ["build"] } [dependencies] -cfgrammar = { path="../cfgrammar", version = "0.14", features = ["wincode"] } -lrtable = { path="../lrtable", version = "0.14", features = ["wincode"] } +cfgrammar = { path="../cfgrammar", version = "0.15", features = ["wincode"] } +lrtable = { path="../lrtable", version = "0.15", features = ["wincode"] } wincode = { workspace = true, features = ["derive"] } cactus.workspace = true diff --git a/lrtable/Cargo.toml b/lrtable/Cargo.toml index 7a6a31b6d..edcea3cfc 100644 --- a/lrtable/Cargo.toml +++ b/lrtable/Cargo.toml @@ -2,7 +2,7 @@ name = "lrtable" description = "LR grammar table generation" repository = "https://github.com/softdevteam/grmtools" -version = "0.14.2" +version = "0.15.0" edition = "2024" readme = "README.md" license = "Apache-2.0/MIT" @@ -17,7 +17,7 @@ name = "lrtable" path = "src/lib/mod.rs" [dependencies] -cfgrammar = { path="../cfgrammar", version = "0.14" } +cfgrammar = { path="../cfgrammar", version = "0.15" } wincode = { workspace = true, features = ["derive"], optional = true } fnv.workspace = true diff --git a/nimbleparse/Cargo.toml b/nimbleparse/Cargo.toml index ce8388967..e241c3109 100644 --- a/nimbleparse/Cargo.toml +++ b/nimbleparse/Cargo.toml @@ -2,7 +2,7 @@ name = "nimbleparse" description = "Simple Yacc grammar debugging tool" repository = "https://github.com/softdevteam/grmtools" -version = "0.14.2" +version = "0.15.0" edition = "2024" readme = "README.md" license = "Apache-2.0/MIT" @@ -13,10 +13,10 @@ doc = false name = "nimbleparse" [dependencies] -cfgrammar = { path="../cfgrammar", version="0.14" } -lrlex = { path="../lrlex", version="0.14" } -lrpar = { path="../lrpar", version="0.14" } -lrtable = { path="../lrtable", version="0.14" } +cfgrammar = { path="../cfgrammar", version="0.15" } +lrlex = { path="../lrlex", version="0.15" } +lrpar = { path="../lrpar", version="0.15" } +lrtable = { path="../lrtable", version="0.15" } getopts.workspace = true num-traits.workspace = true