<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/templates/include, 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] Add methods for setting/unsetting and macros for testing a flags</title>
<updated>2023-12-12T17:35:52+00:00</updated>
<author>
<name>Ufuk Kayserilioglu</name>
<email>ufuk.kayserilioglu@shopify.com</email>
</author>
<published>2023-12-11T22:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bdb38dd9f22accfddc8d0a5e211c74b6a06faf51'/>
<id>bdb38dd9f22accfddc8d0a5e211c74b6a06faf51</id>
<content type='text'>
https://github.com/ruby/prism/commit/e5f37d1407
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e5f37d1407
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Change numbered parameters</title>
<updated>2023-12-01T17:03:09+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-01T01:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cdb74d74afb87a0d7048a53aaf12d32516033a3c'/>
<id>cdb74d74afb87a0d7048a53aaf12d32516033a3c</id>
<content type='text'>
Previously numbered parameters were a field on blocks and lambdas
that indicated the maximum number of numbered parameters in either
the block or lambda, respectively. However they also had a
parameters field that would always be nil in these cases.

This changes it so that we introduce a NumberedParametersNode that
goes in place of parameters, which has a single uint8_t maximum
field on it. That field contains the maximum numbered parameter in
either the block or lambda.

As a part of the PR, I'm introducing a new UInt8Field type that
can be used on nodes, which is just to make it a little more
explicit what the maximum values can be (the maximum is actually 9,
since it only goes up to _9). Plus we can do a couple of nice
things in serialization like just read a single byte.

https://github.com/ruby/prism/commit/2d87303903
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously numbered parameters were a field on blocks and lambdas
that indicated the maximum number of numbered parameters in either
the block or lambda, respectively. However they also had a
parameters field that would always be nil in these cases.

This changes it so that we introduce a NumberedParametersNode that
goes in place of parameters, which has a single uint8_t maximum
field on it. That field contains the maximum numbered parameter in
either the block or lambda.

As a part of the PR, I'm introducing a new UInt8Field type that
can be used on nodes, which is just to make it a little more
explicit what the maximum values can be (the maximum is actually 9,
since it only goes up to _9). Plus we can do a couple of nice
things in serialization like just read a single byte.

https://github.com/ruby/prism/commit/2d87303903
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up lint</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-31T19:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3551abab063c4682c6cef57c15fc31da3400a360'/>
<id>3551abab063c4682c6cef57c15fc31da3400a360</id>
<content type='text'>
https://github.com/ruby/prism/commit/77d4056766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/77d4056766
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Last remaining missing C comments</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-31T17:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=690f3bbf5d67d8629d6e6d7305b79fcc5362b0c9'/>
<id>690f3bbf5d67d8629d6e6d7305b79fcc5362b0c9</id>
<content type='text'>
https://github.com/ruby/prism/commit/e327449db6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e327449db6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] More documentation for ast.h</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-31T16:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=51079a89af4da2d410a069e0598e72ed454363fe'/>
<id>51079a89af4da2d410a069e0598e72ed454363fe</id>
<content type='text'>
https://github.com/ruby/prism/commit/84e22c5581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/84e22c5581
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Even more C file 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-31T16:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=17923cc876513707b4bedcd4437b229feb455099'/>
<id>17923cc876513707b4bedcd4437b229feb455099</id>
<content type='text'>
https://github.com/ruby/prism/commit/9c648ce615
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/9c648ce615
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Start better documenting C API</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-31T01:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c8d93968009d1f3123ebc78906d4abb896e6905'/>
<id>7c8d93968009d1f3123ebc78906d4abb896e6905</id>
<content type='text'>
https://github.com/ruby/prism/commit/2b6e661bbc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/2b6e661bbc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add comments on flags</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-30T18:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a460b23e0e8a4cced92e752b46c2170e83cec63'/>
<id>0a460b23e0e8a4cced92e752b46c2170e83cec63</id>
<content type='text'>
https://github.com/ruby/prism/commit/3abd09c803
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/3abd09c803
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Make PM_NODE_FLAG_COMMON_MASK into a constant</title>
<updated>2023-10-13T19:48:15+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-13T19:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=81fbacb59d39ceb2e2bc6dc6bf52d727f148bfdf'/>
<id>81fbacb59d39ceb2e2bc6dc6bf52d727f148bfdf</id>
<content type='text'>
https://github.com/ruby/prism/commit/ec66feb595
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/ec66feb595
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Move common flags to top bits</title>
<updated>2023-10-13T19:38:57+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2023-10-13T17:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=42484d1281868a50dd06cd819aaa3d9f977b3ae2'/>
<id>42484d1281868a50dd06cd819aaa3d9f977b3ae2</id>
<content type='text'>
Moves the common flag bits to the top. This lets us eliminate the `COMMON`
constant, and also allows us to group encoding flags on a nibble so we
can more easily mask them.

https://github.com/ruby/prism/commit/895508659e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moves the common flag bits to the top. This lets us eliminate the `COMMON`
constant, and also allows us to group encoding flags on a nibble so we
can more easily mask them.

https://github.com/ruby/prism/commit/895508659e
</pre>
</div>
</content>
</entry>
</feed>
