
Ruby completes switch to Prism parser
Ruby 3.4.0and Ruby 3.4.1, an update to the long-running open-source dynamic programming language, now with the Prism parser by default.
Ruby 3.4.0 was released on December 25, Christmas Day, along with the Ruby 3.4.1 update, which simply changed the release version number. Ruby 3.4.1 is listed as the current stable version and can be downloaded from the site Ruby-lang.org.
Features mentioned in the Ruby update include switching the default parser from parse.y to Prism. This is an internal improvement where small changes are visible to the user, the Ruby development team wrote in a post. blog post I’m announcing the release. When changing the language, string literals in files without frozen_string_literal
comment now issues a deprecation warning when changed. These warnings can be enabled using -W:deprecated
or by installing Warning[:deprecated] = true
. Additionally, indexes no longer allow block passing and keyword arguments.
2025-01-03 02:10:14