<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/fixtures, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Revert all of commits after Prism 0.19.0 release</title>
<updated>2023-12-16T03:08:51+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-16T03:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d242e8416e99eaee4465e2681210ae8b7ecd6d34'/>
<id>d242e8416e99eaee4465e2681210ae8b7ecd6d34</id>
<content type='text'>
  We should bundle released version of Prism for Ruby 3.3.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  We should bundle released version of Prism for Ruby 3.3.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Invalid pinned locals in pattern matching</title>
<updated>2023-12-15T15:03:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-15T13:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe9b42f024eb3724b0853c914916ea7a97fd30a6'/>
<id>fe9b42f024eb3724b0853c914916ea7a97fd30a6</id>
<content type='text'>
https://github.com/ruby/prism/commit/3a67b37a56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/3a67b37a56
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix parse result for nesting pattern matching</title>
<updated>2023-12-14T18:54:46+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-14T17:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=019fff3a8656cadad93ba8d6db476428bd8d7a5e'/>
<id>019fff3a8656cadad93ba8d6db476428bd8d7a5e</id>
<content type='text'>
https://github.com/ruby/prism/commit/ee6fc9ee87
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/ee6fc9ee87
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Handle a non-interpolated dsym spanning a heredoc</title>
<updated>2023-12-11T16:34:41+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-11T14:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c65de63913487caf26a281cb5c3be112f87a23a1'/>
<id>c65de63913487caf26a281cb5c3be112f87a23a1</id>
<content type='text'>
https://github.com/ruby/prism/commit/b23136ebfd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/b23136ebfd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix to parse a (endless-)range with binary operators</title>
<updated>2023-12-11T13:34:48+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2023-12-11T05:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a860e3605c53e708d3cb06e2080ff73b58de4b22'/>
<id>a860e3605c53e708d3cb06e2080ff73b58de4b22</id>
<content type='text'>
Fix https://github.com/ruby/prism/pull/2022
Fix https://github.com/ruby/prism/pull/2030

https://github.com/ruby/prism/commit/b78d8b6525
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/prism/pull/2022
Fix https://github.com/ruby/prism/pull/2030

https://github.com/ruby/prism/commit/b78d8b6525
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix defined with new line</title>
<updated>2023-12-05T20:47:22+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2023-12-05T16:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a33632e1ca7af1e3ba34cff05643aa067561a8cc'/>
<id>a33632e1ca7af1e3ba34cff05643aa067561a8cc</id>
<content type='text'>
It's possible to write the following and have it be valid Ruby:

```
defined?("foo"
)
```

But Prism wasn't taking the new line into account. This adds an
`accept1` for a `PM_TOKEN_NEWLINE` to account for this. I've also
updated the fixtures and snapshots to test this.

https://github.com/ruby/prism/commit/b87f8eedc6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's possible to write the following and have it be valid Ruby:

```
defined?("foo"
)
```

But Prism wasn't taking the new line into account. This adds an
`accept1` for a `PM_TOKEN_NEWLINE` to account for this. I've also
updated the fixtures and snapshots to test this.

https://github.com/ruby/prism/commit/b87f8eedc6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add test cases</title>
<updated>2023-12-05T15:16:42+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2023-11-30T17:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3260ed7e5eeb7313411a682d9734f48920be9691'/>
<id>3260ed7e5eeb7313411a682d9734f48920be9691</id>
<content type='text'>
https://github.com/ruby/prism/commit/e91f8dbb99
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e91f8dbb99
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix some corner cases</title>
<updated>2023-12-05T15:16:41+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2023-11-30T09:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3d4a4b252917ef2a76c92333eaeb76448b56d7ba'/>
<id>3d4a4b252917ef2a76c92333eaeb76448b56d7ba</id>
<content type='text'>
https://github.com/ruby/prism/commit/d5453f168e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/d5453f168e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix to parse command-style method calls more correctly</title>
<updated>2023-12-05T15:16:40+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2023-11-30T08:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dcd75fd49dd879f4931b1c5b1bd65990a92badb5'/>
<id>dcd75fd49dd879f4931b1c5b1bd65990a92badb5</id>
<content type='text'>
Fix https://github.com/ruby/prism/pull/1468
Fix https://github.com/ruby/prism/pull/1575

To decide command-style method calls are allowed, this introduce a new
parameter `accepts_command_call` to `parse_expression` and some
functions.

Although one think this can be solved by operator precedence, it is
hard or impossible, because the precedence of command-style calls is skewed
(e.g. `! bar 1 ` is accepted, but `foo = ! bar 1` is rejected.)

One of the most complex examples is that:
(1) even though `foo = bar = baz 1` and `foo, bar = baz 1` is accepted,
(2) `foo, bar = baz = fuzz 1` is rejected.
To implement this behavior, this introduces a new binding power
`PM_BINDING_POWER_MULTI_ASSIGNMENT` and uses it for distinguish which single
assignments or multi assignments at their RHS.

https://github.com/ruby/prism/commit/d4dd49ca81
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/prism/pull/1468
Fix https://github.com/ruby/prism/pull/1575

To decide command-style method calls are allowed, this introduce a new
parameter `accepts_command_call` to `parse_expression` and some
functions.

Although one think this can be solved by operator precedence, it is
hard or impossible, because the precedence of command-style calls is skewed
(e.g. `! bar 1 ` is accepted, but `foo = ! bar 1` is rejected.)

One of the most complex examples is that:
(1) even though `foo = bar = baz 1` and `foo, bar = baz 1` is accepted,
(2) `foo, bar = baz = fuzz 1` is rejected.
To implement this behavior, this introduces a new binding power
`PM_BINDING_POWER_MULTI_ASSIGNMENT` and uses it for distinguish which single
assignments or multi assignments at their RHS.

https://github.com/ruby/prism/commit/d4dd49ca81
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix parsing heredoc ends</title>
<updated>2023-12-01T20:10:58+00:00</updated>
<author>
<name>Haldun Bayhantopcu</name>
<email>haldun@github.com</email>
</author>
<published>2023-12-01T18:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=562d949e022cb3e7288256af8d0df3f4e17b66cb'/>
<id>562d949e022cb3e7288256af8d0df3f4e17b66cb</id>
<content type='text'>
https://github.com/ruby/prism/commit/aa8c702271
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/aa8c702271
</pre>
</div>
</content>
</entry>
</feed>
