37:b44426480e07
|
2006-08-03 |
paulb |
changeset
files
shortlog
graph
|
Made the example semantically valid. |
|
|
tests/assign.py
|
|
36:5795b85355ef
|
2006-08-01 |
paulb |
changeset
files
shortlog
graph
|
Fixed handler attribute visiting in fixnames, along with some incorrectly
defined code attributes. |
|
|
fixnames.py simplify.py
|
|
35:52fb7135229b
|
2006-07-31 |
paulb |
changeset
files
shortlog
graph
|
Made usage of Conditional nodes more consistent, employing both the body and
else_ attributes instead of relying on Return node usage in subprograms.
Added docstrings for various complicated methods.
Changed the handler attribute (on Try) to refer to a list of nodes. |
|
|
simplified.py simplify.py
|
|
34:adf464d8a188
|
2006-07-31 |
paulb |
changeset
files
shortlog
graph
|
Fixed/improved namespace usage in the annotation process.
Changed find_methods to become find_attributes, along with a get_attributes
function which knows how to traverse class and object namespaces.
Changed the fixer/annotator process methods, introducing process_all methods
which accept visitors/simplifiers.
Added conditional annotation support, and tentative invocation support, along
with locals snapshot support (upon which conditionals depend).
Added tentative constant and instance support, along with initialisation of
constant attributes.
Added Return nodes in most Conditional node sections in order to facilitate
locals merging. |
|
|
annotate.py fixnames.py simplified.py simplify.py test.py tests/dynamic_subclass.py tests/subclass.py
|
|
33:f60941bcfca1
|
2006-07-30 |
paulb |
changeset
files
shortlog
graph
|
Added elementary built-in namespace support.
Added a find_methods function for the traversal of class hierarchies. |
|
|
annotate.py test.py
|
|
32:ace370706a11
|
2006-07-30 |
paulb |
changeset
files
shortlog
graph
|
Introduced separate Namespace classes for the annotate and fixnames modules.
Introduced tentative support for operators, starting with the Add AST node and
introducing the Choices program node.
Changed StoreGlobal to merge the stored value types into the global namespace.
Changed the merge method naming in annotate.Namespace.
Added the start of an operators test.
Removed handlers from TryFinally program nodes. |
|
|
annotate.py fixnames.py simplified.py simplify.py tests/operators.py
|
|
31:33af8e19a3f8
|
2006-07-28 |
paulb |
changeset
files
shortlog
graph
|
Introduced a fixnames module in order to separately define the scope for each
name-related operation.
Moved the Namespace class to the simplified module in order to support both the
fixnames and annotate modules.
Simplified the annotate module so that it focuses only on type propagation.
Made sure in the fixnames module that class bases are processes and refer to the
appropriate scope.
Changed the order of definition and initialisation of classes.
Modified the test to automatically fix the names, although this may not be
desirable ultimately. |
|
|
annotate.py fixnames.py simplified.py simplify.py test.py
|
|
30:f42f9f25d112
|
2006-07-25 |
paulb |
changeset
files
shortlog
graph
|
Added elementary support for Return nodes, base classes and tentative support
for invocations. |
|
|
annotate.py
|
|
29:6c70feca6247
|
2006-07-25 |
paulb |
changeset
files
shortlog
graph
|
Fixed tests for annotation.
Added a test of subclasses. |
|
|
tests/assign.py tests/if.py tests/subclass.py
|
|
28:f064d7c3a32b
|
2006-07-25 |
paulb |
changeset
files
shortlog
graph
|
Introduced None as a name for anonymous subprograms.
Made Class, Constant and Instance subclasses of the new non-program Structure
node class. |
|
|
simplified.py simplify.py
|
|