<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/extension.c, 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>[ruby/prism] Remove warnings check from parse_success? method</title>
<updated>2023-12-07T14:39:11+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-07T14:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=10bc0bd4ab9b886b77ba0cb4cdb2fa121a84c835'/>
<id>10bc0bd4ab9b886b77ba0cb4cdb2fa121a84c835</id>
<content type='text'>
https://github.com/ruby/prism/commit/e30a241fb3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e30a241fb3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Provide flags for changing encodings</title>
<updated>2023-12-06T19:23:38+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-04T17:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82f18baa21d0df59c30d8a6e60bf3e0991de1114'/>
<id>82f18baa21d0df59c30d8a6e60bf3e0991de1114</id>
<content type='text'>
https://github.com/ruby/prism/commit/e838eaff6f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e838eaff6f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Refactor pm_diagnostic_t and pm_comment_t to use pm_location_t</title>
<updated>2023-12-04T14:33:44+00:00</updated>
<author>
<name>Lily Lyons</name>
<email>lily@nowaffles.com</email>
</author>
<published>2023-12-01T21:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1227b6d9129d7e978b6bb659c9cb320d47a2aac1'/>
<id>1227b6d9129d7e978b6bb659c9cb320d47a2aac1</id>
<content type='text'>
https://github.com/ruby/prism/commit/115b6a2fc6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/115b6a2fc6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Prism.parse_success?(source)</title>
<updated>2023-12-01T20:53:34+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-01T17:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=492c82cb417a92d1941f10b52e77ec0c4b2cc8a6'/>
<id>492c82cb417a92d1941f10b52e77ec0c4b2cc8a6</id>
<content type='text'>
A lot of tools use Ripper/RubyVM::AbstractSyntaxTree to determine
if a source is valid. These tools both create an AST instead of
providing an API that will return a boolean only.

This new API only creates the C structs, but doesn't bother
reifying them into Ruby/the serialization API. Instead it only
returns true/false, which is significantly more efficient.

https://github.com/ruby/prism/commit/7014740118
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A lot of tools use Ripper/RubyVM::AbstractSyntaxTree to determine
if a source is valid. These tools both create an AST instead of
providing an API that will return a boolean only.

This new API only creates the C structs, but doesn't bother
reifying them into Ruby/the serialization API. Instead it only
returns true/false, which is significantly more efficient.

https://github.com/ruby/prism/commit/7014740118
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Correctly pass around const pm_encoding_t *</title>
<updated>2023-12-01T02:37:56+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-01T01:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e2bbbacc233b1b1c13298baff9eacfe1ef0052f4'/>
<id>e2bbbacc233b1b1c13298baff9eacfe1ef0052f4</id>
<content type='text'>
https://github.com/ruby/prism/commit/ce4c67fb3a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/ce4c67fb3a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Convert start line to signed integers</title>
<updated>2023-11-29T13:56:19+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2023-11-29T10:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2af82e23165180f20ca2af374aedb7a45dedcc20'/>
<id>2af82e23165180f20ca2af374aedb7a45dedcc20</id>
<content type='text'>
Ruby allows for 0 or negative line start, this is often used
with `eval` calls to get a correct offset when prefixing a snippet.

e.g.

```ruby
caller = caller_locations(1, 1).first
class_eval &lt;&lt;~RUBY, caller.path, caller.line - 2
  # frozen_string_literal: true
  def some_method
    #{caller_provided_code_snippet}
  end
RUBY
```

https://github.com/ruby/prism/commit/0d14ed1452
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby allows for 0 or negative line start, this is often used
with `eval` calls to get a correct offset when prefixing a snippet.

e.g.

```ruby
caller = caller_locations(1, 1).first
class_eval &lt;&lt;~RUBY, caller.path, caller.line - 2
  # frozen_string_literal: true
  def some_method
    #{caller_provided_code_snippet}
  end
RUBY
```

https://github.com/ruby/prism/commit/0d14ed1452
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Move DATA parsing into its own parse result field</title>
<updated>2023-11-28T13:25:48+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-27T19:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c798943a4a272f213d21295a837da06ed5fa9a51'/>
<id>c798943a4a272f213d21295a837da06ed5fa9a51</id>
<content type='text'>
https://github.com/ruby/prism/commit/42b60b6e95
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/42b60b6e95
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Rename librubyparser to libprism</title>
<updated>2023-11-14T21:22:03+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-10T05:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ed755181925da920b8a9b07e167e92f3950d1b2a'/>
<id>ed755181925da920b8a9b07e167e92f3950d1b2a</id>
<content type='text'>
librubyparser was an artifact of the prototype that was initially
named ruby-parser. Instead, this renames it to libprism to be
consistent with the actual name.

https://github.com/ruby/prism/commit/8600b06811
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
librubyparser was an artifact of the prototype that was initially
named ruby-parser. Instead, this renames it to libprism to be
consistent with the actual name.

https://github.com/ruby/prism/commit/8600b06811
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Make old compilers happy</title>
<updated>2023-11-03T15:47:22+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-03T15:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc9bcad79c4a49fb1772acf58358283f8492d043'/>
<id>cc9bcad79c4a49fb1772acf58358283f8492d043</id>
<content type='text'>
https://github.com/ruby/prism/commit/145a67d1c3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/145a67d1c3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Rename suppress warnings to verbose</title>
<updated>2023-11-03T14:54:13+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-03T14:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=47163f9cf9af6eb1f808b5a74784f9974a331a4e'/>
<id>47163f9cf9af6eb1f808b5a74784f9974a331a4e</id>
<content type='text'>
https://github.com/ruby/prism/commit/fbb30216ca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/fbb30216ca
</pre>
</div>
</content>
</entry>
</feed>
