<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser/pgen, branch refactor-lambda-parameters</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Fix typo in the parser generator (GH-18603)</title>
<updated>2020-03-09T02:58:24+00:00</updated>
<author>
<name>xatier</name>
<email>xatierlike@gmail.com</email>
</author>
<published>2020-03-09T02:58:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d7a04a842599c4838a5fdf839842d414a302d7e2'/>
<id>d7a04a842599c4838a5fdf839842d414a302d7e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow pgen to produce a DOT format dump of the grammar (GH-18005)</title>
<updated>2020-01-14T22:32:55+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-01-14T22:32:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=45cf5db587d77606e12f4fdc98c7b87964a2f2be'/>
<id>45cf5db587d77606e12f4fdc98c7b87964a2f2be</id>
<content type='text'>
Originally suggested by Anthony Shaw.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally suggested by Anthony Shaw.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347)</title>
<updated>2019-10-15T07:26:12+00:00</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2019-10-15T07:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b60f64e4343913b4931dc27379d9808e5b78fe1'/>
<id>0b60f64e4343913b4931dc27379d9808e5b78fe1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in the algorithm description (GH-15774)</title>
<updated>2019-09-09T14:08:23+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-09-09T14:08:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c638521dbf8862d63151e4b984c9b586a954db4c'/>
<id>c638521dbf8862d63151e4b984c9b586a954db4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in the documentation of Parser/pgen (GH-15416)</title>
<updated>2019-08-24T18:07:24+00:00</updated>
<author>
<name>Shashi Ranjan</name>
<email>shashiranjankv@gmail.com</email>
</author>
<published>2019-08-24T18:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=43710b67b3d40325ba2c31b793895aed48fd8aa7'/>
<id>43710b67b3d40325ba2c31b793895aed48fd8aa7</id>
<content type='text'>
Co-Authored-By: Antoine &lt;43954001+awecx@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Antoine &lt;43954001+awecx@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor Parser/pgen and add documentation and explanations (GH-15373)</title>
<updated>2019-08-22T01:38:39+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-08-22T01:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=71876fa438f706b211360d8c205cb985906212ee'/>
<id>71876fa438f706b211360d8c205cb985906212ee</id>
<content type='text'>
* Refactor Parser/pgen and add documentation and explanations

To improve the readability and maintainability of the parser
generator perform the following transformations:

    * Separate the metagrammar parser in its own class to simplify
      the parser generator logic.

    * Create separate classes for DFAs and NFAs and move methods that
      act exclusively on them from the parser generator to these
      classes.

    * Add docstrings and comment documenting the process to go from
      the grammar file into NFAs and then DFAs. Detail some of the
      algorithms and give some background explanations of some concepts
      that will helps readers not familiar with the parser generation
      process.

    * Select more descriptive names for some variables and variables.

    * PEP8 formatting and quote-style homogenization.

The output of the parser generator remains the same (Include/graminit.h
and Python/graminit.c remain untouched by running the new parser generator).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Refactor Parser/pgen and add documentation and explanations

To improve the readability and maintainability of the parser
generator perform the following transformations:

    * Separate the metagrammar parser in its own class to simplify
      the parser generator logic.

    * Create separate classes for DFAs and NFAs and move methods that
      act exclusively on them from the parser generator to these
      classes.

    * Add docstrings and comment documenting the process to go from
      the grammar file into NFAs and then DFAs. Detail some of the
      algorithms and give some background explanations of some concepts
      that will helps readers not familiar with the parser generation
      process.

    * Select more descriptive names for some variables and variables.

    * PEP8 formatting and quote-style homogenization.

The output of the parser generator remains the same (Include/graminit.h
and Python/graminit.c remain untouched by running the new parser generator).</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate call to strip method in Parser/pgen/token.py (GH-14938)</title>
<updated>2019-07-24T20:31:19+00:00</updated>
<author>
<name>Hansraj Das</name>
<email>raj.das.136@gmail.com</email>
</author>
<published>2019-07-24T20:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e018dc52d1268bc0c5e4037c132e463f1a4002af'/>
<id>e018dc52d1268bc0c5e4037c132e463f1a4002af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use `const` in graminit.c (GH-12713)</title>
<updated>2019-04-23T09:29:57+00:00</updated>
<author>
<name>tyomitch</name>
<email>tyomitch@gmail.com</email>
</author>
<published>2019-04-23T09:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=84b4784f12d4b8aab2b4cc5a4f5b64f45ec3e5d4'/>
<id>84b4784f12d4b8aab2b4cc5a4f5b64f45ec3e5d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36623: Clean parser headers and include files (GH-12253)</title>
<updated>2019-04-13T16:05:14+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-04-13T16:05:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f2cf1e3e2892a6326949c2570f1bb6d6c95715fb'/>
<id>f2cf1e3e2892a6326949c2570f1bb6d6c95715fb</id>
<content type='text'>
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456)</title>
<updated>2019-03-25T22:01:12+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-03-25T22:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=91759d98015e1d6d5e1367cff60592ab548e7806'/>
<id>91759d98015e1d6d5e1367cff60592ab548e7806</id>
<content type='text'>
Now that the parser generator is written in Python (Parser/pgen) we can make use of it to regenerate the Lib/keyword file that contains the language keywords instead of parsing the autogenerated grammar files. This also allows checking in the CI that the autogenerated files are up to date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the parser generator is written in Python (Parser/pgen) we can make use of it to regenerate the Lib/keyword file that contains the language keywords instead of parsing the autogenerated grammar files. This also allows checking in the CI that the autogenerated files are up to date.
</pre>
</div>
</content>
</entry>
</feed>
