<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Tools/compiler, branch v2.1a2</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=v2.1a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/compiler?h=v2.1a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2000-11-06T16:03:52Z</updated>
<entry>
<title>a few small optimizations that seem to give a 5-10% speedup; the</title>
<updated>2000-11-06T16:03:52Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-11-06T16:03:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ebf3be40703b1b6171a001a5155b5e1a9f971be'/>
<id>urn:sha1:4ebf3be40703b1b6171a001a5155b5e1a9f971be</id>
<content type='text'>
further optimization of com_node makes the most difference.
</content>
</entry>
<entry>
<title>move pruneNext method to correct object (doh!)</title>
<updated>2000-11-06T03:47:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-11-06T03:47:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eefaeb78b372f542a70b8b44352852c14549696a'/>
<id>urn:sha1:eefaeb78b372f542a70b8b44352852c14549696a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change the graph structure to contain the code generator object for</title>
<updated>2000-11-06T03:43:11Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-11-06T03:43:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=314e3fb215c4e96a8c5523061623d8439ab4c2dc'/>
<id>urn:sha1:314e3fb215c4e96a8c5523061623d8439ab4c2dc</id>
<content type='text'>
embedded code objects (e.g. functions) rather than the generated code
object.  This change means that the compiler generates code for
everything at the end, rather then generating code for each function
as it finds it.  Implementation note: _convert_LOAD_CONST in
pyassem.py must be change to call getCode().

Other changes follow.  Several changes creates extra edges between
basic blocks to reflect control flow for loops and exceptions.  These
missing edges had gone unnoticed because they do not affect the
current compilation process.

pyassem.py:
    Add _enable_debug() and _disable_debug() methods that print
    instructions and blocks to stdout as they are generated.

    Add edges between blocks for instructions like SETUP_LOOP,
    FOR_LOOP, etc.

    Add pruneNext to get rid of bogus edges remaining after
    unconditional transfer ops (e.g. JUMP_FORWARD)

    Change repr of Block to omit block length.

pycodegen.py:
    Make sure a new block is started after FOR_LOOP, etc.

    Change assert implementation to use RAISE_VARARGS 1 when there is
    no user-specified failure output.

misc.py:
    Implement __contains__ and copy for Set.
</content>
</entry>
<entry>
<title>If a function contains a doc string, remove the doc string node from</title>
<updated>2000-11-06T03:33:52Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-11-06T03:33:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a59ac0a7df57b9081aa08d7e89451e563c58faf9'/>
<id>urn:sha1:a59ac0a7df57b9081aa08d7e89451e563c58faf9</id>
<content type='text'>
the function's body.

If assert is used without an error message, make the AST node None
rather than Name('None').
</content>
</entry>
<entry>
<title>Many changes.</title>
<updated>2000-10-25T18:10:32Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-25T18:10:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7cff7fe21fa6bcf541abc57900c28bfb351576d7'/>
<id>urn:sha1:7cff7fe21fa6bcf541abc57900c28bfb351576d7</id>
<content type='text'>
Reformatting -- long lines, "[ ]" -&gt; "[]", a few indentation nits.

Replace calls to Node function (which constructed ast nodes) with
calls to actual constructors imported from ast module.

Optimize com_node (most frequently used method) for the common case --
the appropriate method is found in _dispatch.

Fix com_augassign to use class object's rather than node names
(rendered invalid by recent changes to ast)

Remove expensive tests for sequence-ness in com_stmt and
com_append_stmt. These tests should never fail; if they do, something
is really broken and exception will be raised elsewhere.

Fix com_stmt and com_append_stmt to use isinstance rather than
testing's type slot of ast node (this slot disappeared with recent
changes to ast).
</content>
</entry>
<entry>
<title>Generated from rev 1.1 of ast.txt</title>
<updated>2000-10-25T18:02:59Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-25T18:02:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=628d289d121488eb8035d35381ede5ec28561ff1'/>
<id>urn:sha1:628d289d121488eb8035d35381ede5ec28561ff1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Small optimizations in dispatch method: 1) lookup node's __class__ once</title>
<updated>2000-10-25T18:02:02Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-25T18:02:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66d2c1f7e5b968280137712463404ee2a13809ab'/>
<id>urn:sha1:66d2c1f7e5b968280137712463404ee2a13809ab</id>
<content type='text'>
and store in local; 2) define _preorder to be dispatch (rather than
method that called dispatch).
</content>
</entry>
<entry>
<title>Support for generation of ast.py from simple description of node</title>
<updated>2000-10-25T17:59:17Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-25T17:59:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=821eee3321f36562e45aa97e25746ad0b6cad31e'/>
<id>urn:sha1:821eee3321f36562e45aa97e25746ad0b6cad31e</id>
<content type='text'>
structure (ast.txt).  Usage is python astgen.py &gt; ast.py.
</content>
</entry>
<entry>
<title>run the std regression test suite using bytecode produced by the compiler</title>
<updated>2000-10-13T22:00:13Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-13T22:00:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac148b5fcd3232ddc9e8998201e68e55066ef355'/>
<id>urn:sha1:ac148b5fcd3232ddc9e8998201e68e55066ef355</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add -d option that dumps entire AST before compiling</title>
<updated>2000-10-13T21:59:32Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-13T21:59:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7f710cc064803895b2025b9e63d525b975beaa4'/>
<id>urn:sha1:e7f710cc064803895b2025b9e63d525b975beaa4</id>
<content type='text'>
</content>
</entry>
</feed>
