From e364436c5f89fc4ee51706634637893771175d02 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 9c12f87048437a..68393494df6041 100644 --- a/NEWS.md +++ b/NEWS.md @@ -364,6 +364,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 @@ -496,6 +505,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