<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/prism.rb, branch v3_4_9</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 version to 1.5.0</title>
<updated>2025-09-12T21:30:16+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-09-12T20:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=52b3f006cb31672c45b26f6a44a609fd1b8e2ee5'/>
<id>52b3f006cb31672c45b26f6a44a609fd1b8e2ee5</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] Relocation</title>
<updated>2024-10-16T15:56:01+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-10-15T12:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=550ae745f6ad400c2de381ed21ed65ae6f574c6d'/>
<id>550ae745f6ad400c2de381ed21ed65ae6f574c6d</id>
<content type='text'>
https://github.com/ruby/prism/commit/5ea6042408
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/5ea6042408
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Prism::StringQuery</title>
<updated>2024-10-11T19:34:57+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-10-11T18:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5f62522d5b8bd162ddf657680b8532eadeaae21f'/>
<id>5f62522d5b8bd162ddf657680b8532eadeaae21f</id>
<content type='text'>
Introduce StringQuery to provide methods to access some metadata
about the Ruby lexer.

https://github.com/ruby/prism/commit/d3f55b67b9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce StringQuery to provide methods to access some metadata
about the Ruby lexer.

https://github.com/ruby/prism/commit/d3f55b67b9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Remove Debug module</title>
<updated>2024-05-24T17:19:38+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-24T16:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f8b750370e1fc3b08d152794e39d389d9586fabe'/>
<id>f8b750370e1fc3b08d152794e39d389d9586fabe</id>
<content type='text'>
https://github.com/ruby/prism/commit/4d8929ff6a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/4d8929ff6a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Autoload newlines and comment visitors</title>
<updated>2024-05-13T15:34:47+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-13T15:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e6340258f88064cabba5150cfef1f8898f6aa9d8'/>
<id>e6340258f88064cabba5150cfef1f8898f6aa9d8</id>
<content type='text'>
Having the @newline instance variable in every node adds up, and
since it is so rarely used, we only want to add it when necessary.

Moving this into an autoloaded file and moving the instance variable
out of the default initializers reduces allocated memory because the
nodes are now smaller and some fit into the compact list. On my
machine, I'm seeing about an 8% drop.

https://github.com/ruby/prism/commit/eea92c07d2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having the @newline instance variable in every node adds up, and
since it is so rarely used, we only want to add it when necessary.

Moving this into an autoloaded file and moving the instance variable
out of the default initializers reduces allocated memory because the
nodes are now smaller and some fit into the compact list. On my
machine, I'm seeing about an 8% drop.

https://github.com/ruby/prism/commit/eea92c07d2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Prism::Location#adjoin</title>
<updated>2024-05-03T19:14:03+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-03T18:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d4a6d0c17781821d967063613fab5992231a5158'/>
<id>d4a6d0c17781821d967063613fab5992231a5158</id>
<content type='text'>
https://github.com/ruby/prism/commit/a298db68e3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/a298db68e3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Change inspect from recursive to a queue</title>
<updated>2024-04-24T18:16:42+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-24T15:58:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6d9ba1e014d5a5871f8a62ced582547ca8ea6b30'/>
<id>6d9ba1e014d5a5871f8a62ced582547ca8ea6b30</id>
<content type='text'>
We would previously cause a stack overflow if we parsed a file that
was too deeply nested when we were calling inspect. Instead, we now
use a queue of commands to do it linearly so we don't.

https://github.com/ruby/prism/commit/0f21f5bfe1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We would previously cause a stack overflow if we parsed a file that
was too deeply nested when we were calling inspect. Instead, we now
use a queue of commands to do it linearly so we don't.

https://github.com/ruby/prism/commit/0f21f5bfe1
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Split parse result based on type</title>
<updated>2024-04-19T19:25:32+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-19T18:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=23be6599a20a0fd6bbf650816d163f9adfb82009'/>
<id>23be6599a20a0fd6bbf650816d163f9adfb82009</id>
<content type='text'>
https://github.com/ruby/prism/commit/17194e096d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/17194e096d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add a reflection API for determining the fields of a node</title>
<updated>2024-04-17T17:54:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-17T15:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d186eb36a4abbbefa026ea5630a1b59bb668ef0f'/>
<id>d186eb36a4abbbefa026ea5630a1b59bb668ef0f</id>
<content type='text'>
https://github.com/ruby/prism/commit/f3f9950a74
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f3f9950a74
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Tweak wording for Prism::BACKEND</title>
<updated>2024-02-29T19:24:04+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2024-02-29T16:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6075f67ae65939d4dccc7fba9b053830e5bb2c26'/>
<id>6075f67ae65939d4dccc7fba9b053830e5bb2c26</id>
<content type='text'>
* TruffleRuby does support C extensions but FFI is faster there.

https://github.com/ruby/prism/commit/d211a87691
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* TruffleRuby does support C extensions but FFI is faster there.

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