0.8 C
New York
Friday, January 3, 2025

Ruby completes change to Prism parser



 Ruby 3.4.0, and Ruby 3.4.1, updates to the longstanding dynamic, open supply programming language, have arrived, with Prism now the default parser.

Ruby 3.4.0 was launched December 25, Christmas Day, together with an replace, Ruby 3.4.1, which merely modified the model variety of the discharge. Ruby 3.4.1 is listed as the present secure model and could be downloaded from ruby-lang.org.

Options cited for the Ruby replace embody switching the default parser from parse.y to Prism. This serves as an inside enchancment, with little change seen to the consumer, the Ruby improvement crew wrote in a weblog publish asserting the discharge. In a change to the language, string literals in recordsdata and not using a frozen_string_literal remark now emit a deprecation warning when mutated. These warnings could be enabled with -W:deprecated or by setting Warning[:deprecated] = true. Additionally, block passing and key phrase arguments are not allowed in indexes.



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles