From 14662961dd2bf43a0ce04e0bf146af24bb518480 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Fri, 22 Dec 2023 09:32:32 +0900 Subject: [PATCH] [DOC] NEWS entries for Parser --- NEWS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NEWS.md b/NEWS.md index 540faaca4bea49..d88ea3dfd15801 100644 --- a/NEWS.md +++ b/NEWS.md @@ -346,6 +346,15 @@ changelog for details of the default gems or bundled gems. ## Implementation improvements +### Parser + +* Replace Bison with [Lrama LALR parser generator](https://github.com/ruby/lrama). + No need to install Bison to build Ruby from source code anymore. + We will no longer suffer bison compatibility issues and we can use new features by just implementing it to Lrama. [[Feature #19637]] + * See [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) for detail. + * Lrama internal parser is a LR parser generated by Racc for maintainability. + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y. + ### GC / Memory management * Major performance improvements over Ruby 3.2 @@ -476,6 +485,7 @@ changelog for details of the default gems or bundled gems. [Feature #19572]: https://bugs.ruby-lang.org/issues/19572 [Feature #19591]: https://bugs.ruby-lang.org/issues/19591 [Feature #19630]: https://bugs.ruby-lang.org/issues/19630 +[Feature #19637]: https://bugs.ruby-lang.org/issues/19637 [Feature #19678]: https://bugs.ruby-lang.org/issues/19678 [Feature #19714]: https://bugs.ruby-lang.org/issues/19714 [Feature #19757]: https://bugs.ruby-lang.org/issues/19757