<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/prism/lex_compat.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] Fix up lex difference when ~ heredoc with 0 dedent and line continuation</title>
<updated>2024-09-25T18:35:05+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-09-25T18:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b97ff7dfdae59e688609c008a459cf264362490f'/>
<id>b97ff7dfdae59e688609c008a459cf264362490f</id>
<content type='text'>
https://github.com/ruby/prism/commit/84a9251915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/84a9251915
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Create specialized `ASCIISource` with asciionly optimizations</title>
<updated>2024-05-03T18:10:21+00:00</updated>
<author>
<name>Vinicius Stock</name>
<email>vinicius.stock@shopify.com</email>
</author>
<published>2024-05-02T15:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4fbb208185c2c5c0b5c9362c15fc90a0e6d02309'/>
<id>4fbb208185c2c5c0b5c9362c15fc90a0e6d02309</id>
<content type='text'>
https://github.com/ruby/prism/commit/40993166a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/40993166a8
</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] Fix IgnoredNewlineToken comparison of Ripper::Lexer::State</title>
<updated>2024-02-24T03:39:20+00:00</updated>
<author>
<name>Gopal Patel</name>
<email>nixme@stillhope.com</email>
</author>
<published>2023-12-21T04:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=46fe3dc799e937fcd369f6c22a038c9fc35a7328'/>
<id>46fe3dc799e937fcd369f6c22a038c9fc35a7328</id>
<content type='text'>
https://github.com/ruby/prism/commit/8c9502f61b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/8c9502f61b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Use steep to type check RBS and Ruby files</title>
<updated>2024-02-24T03:39:19+00:00</updated>
<author>
<name>Gopal Patel</name>
<email>nixme@stillhope.com</email>
</author>
<published>2023-12-18T22:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b9b0712556980a3af91c976c3fee8ba0e21c39a0'/>
<id>b9b0712556980a3af91c976c3fee8ba0e21c39a0</id>
<content type='text'>
https://github.com/ruby/prism/commit/eabed9f4fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/eabed9f4fd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Dev-only CLI</title>
<updated>2024-02-07T21:26:14+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-02-07T20:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0e1f22ac7ee5719048471aad29f69221d045bd34'/>
<id>0e1f22ac7ee5719048471aad29f69221d045bd34</id>
<content type='text'>
We keep adding more scripts to /bin that are doing the same kinds
of processing. Instead, this commit consolidates them all into a
single CLI that shares the same logic so that we can consistently
read files in the same way.

It keeps around 2 binstubs for bin/lex and bin/parse since those
are the most used and I'm sure people have built up muscle memory
for those. Those scripts are now just wrappers for forwarding to
bin/prism.

https://github.com/ruby/prism/commit/bddcb9bf17
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We keep adding more scripts to /bin that are doing the same kinds
of processing. Instead, this commit consolidates them all into a
single CLI that shares the same logic so that we can consistently
read files in the same way.

It keeps around 2 binstubs for bin/lex and bin/parse since those
are the most used and I'm sure people have built up muscle memory
for those. Those scripts are now just wrappers for forwarding to
bin/prism.

https://github.com/ruby/prism/commit/bddcb9bf17
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Support for Ruby 2.7</title>
<updated>2024-02-07T16:54:34+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-02-05T20:41:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aad3c36bdfe68c429cf612542a7eb3c94c17c483'/>
<id>aad3c36bdfe68c429cf612542a7eb3c94c17c483</id>
<content type='text'>
https://github.com/ruby/prism/commit/1a15b70a8e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/1a15b70a8e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix comments after HEREDOCs again.</title>
<updated>2023-12-01T15:17:20+00:00</updated>
<author>
<name>Martin Emde</name>
<email>martin.emde@gmail.com</email>
</author>
<published>2023-12-01T03:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cbe57caa246f57440667a53b4526ddabcea82df9'/>
<id>cbe57caa246f57440667a53b4526ddabcea82df9</id>
<content type='text'>
The problem was deeper than just looking back a single token.
You can push the heredoc_end token way back into the list.
We need to save the last location of a heredoc end to see if
it's the last token in the file.

Fixes https://github.com/ruby/prism/pull/1954

https://github.com/ruby/prism/commit/91dfd4eecd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was deeper than just looking back a single token.
You can push the heredoc_end token way back into the list.
We need to save the last location of a heredoc end to see if
it's the last token in the file.

Fixes https://github.com/ruby/prism/pull/1954

https://github.com/ruby/prism/commit/91dfd4eecd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix lex_compat for `&lt;&lt;HEREDOC # comment` at EOF</title>
<updated>2023-11-30T14:10:04+00:00</updated>
<author>
<name>Martin Emde</name>
<email>martin.emde@gmail.com</email>
</author>
<published>2023-11-30T04:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aac8be803409a18f6c32b438d154432eeb6f49e8'/>
<id>aac8be803409a18f6c32b438d154432eeb6f49e8</id>
<content type='text'>
Fixes https://github.com/ruby/prism/pull/1874

https://github.com/ruby/prism/commit/304dd78dd2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/ruby/prism/pull/1874

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