<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/prism, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Bump Prism to v1.8.1</title>
<updated>2026-03-16T22:46:12+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-03-16T22:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fd1181a9d81cc7eed8ddfe262d97035d6e1b321'/>
<id>3fd1181a9d81cc7eed8ddfe262d97035d6e1b321</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync Prism to 1.8.0</title>
<updated>2026-01-13T01:59:55+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-01-13T01:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a10f7fac1fb1dcbdb1ae41137bd7294764a34793'/>
<id>a10f7fac1fb1dcbdb1ae41137bd7294764a34793</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Bump to v1.7.0</title>
<updated>2025-12-19T00:58:53+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-12-18T15:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5c0c0dd8737c8225f0ebcf0eaf3fb8b71917ee4d'/>
<id>5c0c0dd8737c8225f0ebcf0eaf3fb8b71917ee4d</id>
<content type='text'>
https://github.com/ruby/prism/commit/21c499d6e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/21c499d6e4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add Ruby 4.1 as a version specifier</title>
<updated>2025-12-19T00:58:53+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-12-17T09:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76248400b75d42288a5941aa03e2d2e6d4fac057'/>
<id>76248400b75d42288a5941aa03e2d2e6d4fac057</id>
<content type='text'>
https://github.com/ruby/prism/commit/138db9ccc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/138db9ccc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix `sexp_processor` gem reference</title>
<updated>2025-12-14T21:11:21+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-12-14T17:26:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=490a03bad9d3c18f66ae004055145db34d8ba599'/>
<id>490a03bad9d3c18f66ae004055145db34d8ba599</id>
<content type='text'>
It's https://rubygems.org/gems/sexp_processor, not https://rubygems.org/gems/sexp

https://github.com/ruby/prism/commit/b8a00a5f15
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's https://rubygems.org/gems/sexp_processor, not https://rubygems.org/gems/sexp

https://github.com/ruby/prism/commit/b8a00a5f15
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Define RubyParser::SyntaxError directly and drop require for ruby_parser.</title>
<updated>2025-12-14T16:42:51+00:00</updated>
<author>
<name>Ryan Davis</name>
<email>ryand-ruby@zenspider.com</email>
</author>
<published>2025-12-12T21:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a84fa1b39e1bcd8c62b2b5225535dabcdcfdac4'/>
<id>4a84fa1b39e1bcd8c62b2b5225535dabcdcfdac4</id>
<content type='text'>
Had to add a require of sexp since that came in indirectly via ruby_parser.

https://github.com/ruby/prism/commit/df677c324f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Had to add a require of sexp since that came in indirectly via ruby_parser.

https://github.com/ruby/prism/commit/df677c324f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fixed Prism::Translation::RubyParser's comment processing</title>
<updated>2025-12-12T17:52:16+00:00</updated>
<author>
<name>Ryan Davis</name>
<email>ryand-ruby@zenspider.com</email>
</author>
<published>2025-12-07T09:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb4a6f39519c101b6bdc847d11cad55f19e62e9a'/>
<id>bb4a6f39519c101b6bdc847d11cad55f19e62e9a</id>
<content type='text'>
Tests were failing in Flay under Prism.

https://github.com/ruby/prism/commit/af9b3640a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests were failing in Flay under Prism.

https://github.com/ruby/prism/commit/af9b3640a8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix the ripper translator to parse as the current ruby</title>
<updated>2025-12-02T16:20:43+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-12-02T09:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c06c2203ed14e67dc12486c815b246395ef711e1'/>
<id>c06c2203ed14e67dc12486c815b246395ef711e1</id>
<content type='text'>
Otherwise, it uses the latest prism version

https://github.com/ruby/prism/commit/86406f63aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, it uses the latest prism version

https://github.com/ruby/prism/commit/86406f63aa
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Optimize `Prism::Source#find_line`</title>
<updated>2025-11-29T19:01:11+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-11-26T15:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=48a73303e45b1dbaa3422e14e35c7834db98be4d'/>
<id>48a73303e45b1dbaa3422e14e35c7834db98be4d</id>
<content type='text'>
This is more concise and ruby does a better job performance-wise.

This used to be `bsearch_index` already but https://github.com/ruby/prism/commit/6d8358c08395438d5924777c1fc3001a5ebf0aa3 changed it.
https://github.com/ruby/prism/pull/1733#discussion_r1373702087 said:
&gt; Yeah the edge case was that the value matched an element exactly

But surely there would be a test to show this behaviour?

Gets called as part of pretty-printing nodes.
Further reduces the time for `SnapshotsTest` by ~16% for me.

https://github.com/ruby/prism/commit/f448e2b995
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is more concise and ruby does a better job performance-wise.

This used to be `bsearch_index` already but https://github.com/ruby/prism/commit/6d8358c08395438d5924777c1fc3001a5ebf0aa3 changed it.
https://github.com/ruby/prism/pull/1733#discussion_r1373702087 said:
&gt; Yeah the edge case was that the value matched an element exactly

But surely there would be a test to show this behaviour?

Gets called as part of pretty-printing nodes.
Further reduces the time for `SnapshotsTest` by ~16% for me.

https://github.com/ruby/prism/commit/f448e2b995
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Use `method_defined?` instead of `instance_methods.include?`</title>
<updated>2025-11-14T13:47:49+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-11-14T01:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0e604623d855934c1f10b293b698f223b79c5c07'/>
<id>0e604623d855934c1f10b293b698f223b79c5c07</id>
<content type='text'>
While the latter creates an intermediate array of all method names
including all ancestors, the former just traverse the inheritance
chain and can stop if found once.

https://github.com/ruby/prism/commit/6da384dd0e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While the latter creates an intermediate array of all method names
including all ancestors, the former just traverse the inheritance
chain and can stop if found once.

https://github.com/ruby/prism/commit/6da384dd0e
</pre>
</div>
</content>
</entry>
</feed>
