<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/util/pm_buffer.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] 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] Rename varint as varuint</title>
<updated>2023-11-29T13:56:18+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2023-11-29T08:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2653404840952d25bbdd7deaf599fbfb1f5287f0'/>
<id>2653404840952d25bbdd7deaf599fbfb1f5287f0</id>
<content type='text'>
Line numbers may be negative, so we need to introduce signed varint,
so renaming unsigned ones first avoid confusion.

https://github.com/ruby/prism/commit/90d862361e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Line numbers may be negative, so we need to introduce signed varint,
so renaming unsigned ones first avoid confusion.

https://github.com/ruby/prism/commit/90d862361e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Even more C documentation</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-31T03:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b67994d6bf88fcfd66fc0368a03a92aa81fe8b11'/>
<id>b67994d6bf88fcfd66fc0368a03a92aa81fe8b11</id>
<content type='text'>
https://github.com/ruby/prism/commit/bec5ca37a0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/bec5ca37a0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Match existing Ruby prettyprint</title>
<updated>2023-10-26T19:19:43+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-24T16:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d1bb858d476446ab82e6caa29c061a0da734c8eb'/>
<id>d1bb858d476446ab82e6caa29c061a0da734c8eb</id>
<content type='text'>
https://github.com/ruby/prism/commit/6d8358c083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/6d8358c083
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Get general prettyprint structure working</title>
<updated>2023-10-26T19:19:35+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-24T14:04:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e9aa2398b9d8eb04a0013fa5420214382ea3457a'/>
<id>e9aa2398b9d8eb04a0013fa5420214382ea3457a</id>
<content type='text'>
https://github.com/ruby/prism/commit/7c9cf63d4c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/7c9cf63d4c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Handle remaining escape sequences for character literals</title>
<updated>2023-10-13T19:31:30+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-10T14:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd3986876a96f9e9fec078247d7d40b322f8fd17'/>
<id>dd3986876a96f9e9fec078247d7d40b322f8fd17</id>
<content type='text'>
https://github.com/ruby/prism/commit/ba33607034
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/ba33607034
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync to prism rename commits</title>
<updated>2023-09-27T17:57:38+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-09-27T16:24:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b'/>
<id>4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename YARP filepaths to prism filepaths</title>
<updated>2023-09-27T17:57:38+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-09-27T16:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8ab56869a64fdccc094f4a83c6367fb23b72d38b'/>
<id>8ab56869a64fdccc094f4a83c6367fb23b72d38b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
