<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Tools/compiler, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/compiler?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/compiler?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-10-17T13:39:06Z</updated>
<entry>
<title>Test utility to look for bad stacksize calculations.</title>
<updated>2001-10-17T13:39:06Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-17T13:39:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8903fbf9b87c079be1438f7e7cdb6c06381ef55'/>
<id>urn:sha1:b8903fbf9b87c079be1438f7e7cdb6c06381ef55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed files no longer needed.</title>
<updated>2001-09-28T17:22:35Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-09-28T17:22:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19405a4a2a68570cae67501935adea3f375f84bf'/>
<id>urn:sha1:19405a4a2a68570cae67501935adea3f375f84bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove setup.py, unnecessary since compiler package is the std</title>
<updated>2001-09-20T15:02:27Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-20T15:02:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5953b40442369883db9c9f72c759587ad612ec00'/>
<id>urn:sha1:5953b40442369883db9c9f72c759587ad612ec00</id>
<content type='text'>
library.

Update README.
</content>
</entry>
<entry>
<title>Moved to Tools/compiler along with astgen.py</title>
<updated>2001-09-20T14:59:00Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-20T14:59:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e54b5b4f81d7275c1c76f1ae1a757709fca1bb2b'/>
<id>urn:sha1:e54b5b4f81d7275c1c76f1ae1a757709fca1bb2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The compiler package is now part of the standard library.</title>
<updated>2001-09-20T01:27:40Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-20T01:27:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b3c569ce8291868ea81b0e175fffc53c758906bf'/>
<id>urn:sha1:b3c569ce8291868ea81b0e175fffc53c758906bf</id>
<content type='text'>
Remove all these files.  All except astgen.py are moved to Lib/compiler.
</content>
</entry>
<entry>
<title>Track changes to compiler API</title>
<updated>2001-09-17T21:31:35Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-17T21:31:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d1e34aa4217f1c3526e2dc330c84bf836c696b8'/>
<id>urn:sha1:5d1e34aa4217f1c3526e2dc330c84bf836c696b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>API change:</title>
<updated>2001-09-17T21:02:51Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-17T21:02:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9dca36432e4526da9c5885e86782e7dfa5432c42'/>
<id>urn:sha1:9dca36432e4526da9c5885e86782e7dfa5432c42</id>
<content type='text'>
compile() becomes replacement for builtin compile()
compileFile() generates a .pyc from a .py
both are exported in __init__

compiler.parse() gets optional second argument to specify compilation
mode, e.g. single, eval, exec

Add AbstractCompileMode as parent class and Module, Expression, and
Interactive as concrete subclasses.  Each corresponds to a compilation
mode.

THe AbstractCompileMode instances in turn delegate to CodeGeneration
subclasses specialized for their particular functions --
ModuleCodeGenerator, ExpressionCodeGeneration,
InteractiveCodeGenerator.
</content>
</entry>
<entry>
<title>Re-created after change to astgen to calculate hardest_arg correctly</title>
<updated>2001-09-17T20:17:02Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-17T20:17:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8ed18a4e3756f0cccbcddd10323ef536ad003ec'/>
<id>urn:sha1:c8ed18a4e3756f0cccbcddd10323ef536ad003ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix calculation of hardest_arg.</title>
<updated>2001-09-17T20:16:30Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-17T20:16:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eab4328f1a4de03e527c746086f73c8a4d6f6b08'/>
<id>urn:sha1:eab4328f1a4de03e527c746086f73c8a4d6f6b08</id>
<content type='text'>
The argument properties are ordered from easiest to hardest.  The
harder the arg, the more complicated that code that must be generated
to return it from getChildren() and/or getChildNodes().  The old
calculation routine was bogus, because it always set hardest_arg to
the hardness of the last argument.  Now use max() to always set it to
the hardness of the hardest argument.
</content>
</entry>
<entry>
<title>Last set of change to get regression tests to pass</title>
<updated>2001-09-17T19:33:48Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-17T19:33:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e4cc7e0d84747826d3d2546d1bccd9c40a455c2'/>
<id>urn:sha1:2e4cc7e0d84747826d3d2546d1bccd9c40a455c2</id>
<content type='text'>
Remove the only test in the syntax module.  It ends up that the
transformer must handle this error case.

In the transformer, check for a list compression in com_assign_list()
by looking for a list_for node where a comma is expected.

In pycodegen.compile() re-raise the SyntaxError rather than catching
it and exiting
</content>
</entry>
</feed>
