<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/syntax_suggest/explain_syntax.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/syntax_suggest] Remove duplicate error messages</title>
<updated>2023-12-05T17:51:29+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2023-12-04T23:34:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c175e265dae7c7192f9cf4ecbbc1c29c0491ef16'/>
<id>c175e265dae7c7192f9cf4ecbbc1c29c0491ef16</id>
<content type='text'>
Before:

```
Expected a newline or semicolon after the statement
Cannot parse the expression
Expected a newline or semicolon after the statement
Cannot parse the expression

   1  describe "webmock tests" do
  22    it "body" do
  27      query = Cutlass::FunctionQuery.new(
&gt; 28        port: port
&gt; 29        body: body
  30      ).call
  34    end
  35  end
```

After:

```
Expected a newline or semicolon after the statement
Cannot parse the expression

   1  describe "webmock tests" do
  22    it "body" do
  27      query = Cutlass::FunctionQuery.new(
&gt; 28        port: port
&gt; 29        body: body
  30      ).call
  34    end
  35  end
```

https://github.com/ruby/syntax_suggest/commit/becf097e5e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before:

```
Expected a newline or semicolon after the statement
Cannot parse the expression
Expected a newline or semicolon after the statement
Cannot parse the expression

   1  describe "webmock tests" do
  22    it "body" do
  27      query = Cutlass::FunctionQuery.new(
&gt; 28        port: port
&gt; 29        body: body
  30      ).call
  34    end
  35  end
```

After:

```
Expected a newline or semicolon after the statement
Cannot parse the expression

   1  describe "webmock tests" do
  22    it "body" do
  27      query = Cutlass::FunctionQuery.new(
&gt; 28        port: port
&gt; 29        body: body
  30      ).call
  34    end
  35  end
```

https://github.com/ruby/syntax_suggest/commit/becf097e5e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/syntax_suggest] Update docs, clean up PR</title>
<updated>2023-12-05T17:51:29+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2023-12-04T22:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6d39d6d2143f7b910f310de0ff92772839ac72a2'/>
<id>6d39d6d2143f7b910f310de0ff92772839ac72a2</id>
<content type='text'>
Removes or updates mentions of Ripper

https://github.com/ruby/syntax_suggest/commit/08aaa3f50a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes or updates mentions of Ripper

https://github.com/ruby/syntax_suggest/commit/08aaa3f50a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/syntax_suggest] Initial support for the prism parser</title>
<updated>2023-12-05T17:51:27+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2023-12-01T18:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cce29750d797a85ac89540b9ad47816131652a2f'/>
<id>cce29750d797a85ac89540b9ad47816131652a2f</id>
<content type='text'>
Prism will be the parser in Ruby 3.3. We need to support 3.0+ so we will have to "dual boot" both parsers.

Todo:

- LexAll to support Prism lex output
- Add tests that exercise both Ripper and prism codepaths on CI
- Handle https://github.com/ruby/prism/issues/1972 in `ripper_errors.rb`
- Update docs to not mention Ripper explicitly
- Consider different/cleaner APIs for separating out Ripper and Prism

https://github.com/ruby/syntax_suggest/commit/a7d6991cc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prism will be the parser in Ruby 3.3. We need to support 3.0+ so we will have to "dual boot" both parsers.

Todo:

- LexAll to support Prism lex output
- Add tests that exercise both Ripper and prism codepaths on CI
- Handle https://github.com/ruby/prism/issues/1972 in `ripper_errors.rb`
- Update docs to not mention Ripper explicitly
- Consider different/cleaner APIs for separating out Ripper and Prism

https://github.com/ruby/syntax_suggest/commit/a7d6991cc4
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync SyntaxSuggest</title>
<updated>2022-08-19T01:02:24+00:00</updated>
<author>
<name>schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2022-07-26T20:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=490af8dbdb66263f29d0b4e43752fbb298b94862'/>
<id>490af8dbdb66263f29d0b4e43752fbb298b94862</id>
<content type='text'>
```
$ tool/sync_default_gems.rb syntax_suggest
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
$ tool/sync_default_gems.rb syntax_suggest
```
</pre>
</div>
</content>
</entry>
</feed>
