<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ripper/test_sexp.rb, 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>`*` in an array pattern should not be parsed as nil in ripper</title>
<updated>2023-04-01T07:35:24+00:00</updated>
<author>
<name>Kazuki Tsujimoto</name>
<email>kazuki@callcc.net</email>
</author>
<published>2023-04-01T07:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4ac8d1172483634bb24183b8ad2aaa03435b17a3'/>
<id>4ac8d1172483634bb24183b8ad2aaa03435b17a3</id>
<content type='text'>
After 6c0925ba7017efde6091e2ec4f1a6be268166696, it was impossible
to distinguish between the presence or absence of `*`.

    # Before the commit
    Ripper.sexp('0 in []')[1][0][2][1]  #=&gt; [:aryptn, nil, nil, nil, nil]
    Ripper.sexp('0 in [*]')[1][0][2][1] #=&gt; [:aryptn, nil, nil, [:var_field, nil], nil]

    # After the commit
    Ripper.sexp('0 in []')[1][0][2][1]  #=&gt; [:aryptn, nil, nil, nil, nil]
    Ripper.sexp('0 in [*]')[1][0][2][1] #=&gt; [:aryptn, nil, nil, nil, nil]

This commit reverts it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After 6c0925ba7017efde6091e2ec4f1a6be268166696, it was impossible
to distinguish between the presence or absence of `*`.

    # Before the commit
    Ripper.sexp('0 in []')[1][0][2][1]  #=&gt; [:aryptn, nil, nil, nil, nil]
    Ripper.sexp('0 in [*]')[1][0][2][1] #=&gt; [:aryptn, nil, nil, [:var_field, nil], nil]

    # After the commit
    Ripper.sexp('0 in []')[1][0][2][1]  #=&gt; [:aryptn, nil, nil, nil, nil]
    Ripper.sexp('0 in [*]')[1][0][2][1] #=&gt; [:aryptn, nil, nil, nil, nil]

This commit reverts it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #19175] p_kw without a sub pattern should be `assignable'</title>
<updated>2023-03-26T09:57:34+00:00</updated>
<author>
<name>Kazuki Tsujimoto</name>
<email>kazuki@callcc.net</email>
</author>
<published>2023-03-26T09:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d51529244ff5b10fa280c559d2d21383f5a5f842'/>
<id>d51529244ff5b10fa280c559d2d21383f5a5f842</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #19175] p_rest should be `assignable'</title>
<updated>2023-03-26T09:56:21+00:00</updated>
<author>
<name>Kazuki Tsujimoto</name>
<email>kazuki@callcc.net</email>
</author>
<published>2023-03-26T06:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6c0925ba7017efde6091e2ec4f1a6be268166696'/>
<id>6c0925ba7017efde6091e2ec4f1a6be268166696</id>
<content type='text'>
It should also check for duplicate names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should also check for duplicate names.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hash values should be omitted in Ripper results</title>
<updated>2021-09-11T13:03:10+00:00</updated>
<author>
<name>Shugo Maeda</name>
<email>shugo@ruby-lang.org</email>
</author>
<published>2021-09-11T13:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7686776c0563eeb269c5ffa1fc2cf42d4d31e222'/>
<id>7686776c0563eeb269c5ffa1fc2cf42d4d31e222</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Pattern matching pin operator against expression [Feature #17411]</title>
<updated>2021-03-21T06:14:31+00:00</updated>
<author>
<name>Kazuki Tsujimoto</name>
<email>kazuki@callcc.net</email>
</author>
<published>2021-03-21T06:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=21863470d965b8cc299b1f82417c70d5d26f8ab2'/>
<id>21863470d965b8cc299b1f82417c70d5d26f8ab2</id>
<content type='text'>
This commit is based on the patch by @nobu.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit is based on the patch by @nobu.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support raise_errors keyword for Ripper.{lex,tokenize,sexp,sexp_raw}</title>
<updated>2020-11-18T05:15:50+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-11-18T05:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cd0877a93e91fecb3066984b3fa2a762e6977caf'/>
<id>cd0877a93e91fecb3066984b3fa2a762e6977caf</id>
<content type='text'>
Implements [Feature #17276]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements [Feature #17276]</pre>
</div>
</content>
</entry>
<entry>
<title>Assoc pattern matching (#3703)</title>
<updated>2020-10-26T09:00:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-10-26T09:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=52c630da004d9273e8e5fc91c6304e9eed902566'/>
<id>52c630da004d9273e8e5fc91c6304e9eed902566</id>
<content type='text'>
[Feature #17260] One-line pattern matching using tASSOC

R-assignment is rejected instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #17260] One-line pattern matching using tASSOC

R-assignment is rejected instead.</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce find pattern [Feature #16828]</title>
<updated>2020-06-14T00:24:36+00:00</updated>
<author>
<name>Kazuki Tsujimoto</name>
<email>kazuki@callcc.net</email>
</author>
<published>2020-06-14T00:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ddded1157a90d21cb54b9f07de35ab9b4cc472e1'/>
<id>ddded1157a90d21cb54b9f07de35ab9b4cc472e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ripper] Fixed unique key check in pattern matching</title>
<updated>2019-11-26T13:54:35+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-11-26T13:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e01fcd0cb79a05daa50d99c888cc7eeb9c79426'/>
<id>9e01fcd0cb79a05daa50d99c888cc7eeb9c79426</id>
<content type='text'>
Check keys
* by an internal table, instead of unstable dispatched results
* and by parsed key values, instead of escaped forms in the source
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check keys
* by an internal table, instead of unstable dispatched results
* and by parsed key values, instead of escaped forms in the source
</pre>
</div>
</content>
</entry>
<entry>
<title>[ripper] Quoted label without expression must be a local variable</title>
<updated>2019-11-25T08:42:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-11-19T08:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=26625bc33c32e0945bf727234a3ce6da1eb0ddc4'/>
<id>26625bc33c32e0945bf727234a3ce6da1eb0ddc4</id>
<content type='text'>
The difference from 0b8c73aa65add5c57b46b0cfdf4e661508802172 is to
add the result of `string_add` event to marking objects.

```C
			    RNODE($1)-&gt;nd_rval = add_mark_object(p, $$);
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The difference from 0b8c73aa65add5c57b46b0cfdf4e661508802172 is to
add the result of `string_add` event to marking objects.

```C
			    RNODE($1)-&gt;nd_rval = add_mark_object(p, $$);
```
</pre>
</div>
</content>
</entry>
</feed>
