207:319e35c72bb1
|
2007-02-26 |
paulb |
changeset
files
shortlog
graph
|
Fixed the setting of types in the Namespace set_types method, always taking a
copy of anything passed in.
Fixed various places where subprograms were produced or copied, ensuring that
they get registered with their module owners.
Added returns, return_locals and raises to Subprogram nodes so that recursive
calls initially provide empty results and that return types eventually build
up on such nodes.
Moved global/module namespace adjustment to process_node in order to ensure
correct namespaces for re-run invocations.
Removed the "identical instance" behaviour from ProlificMultipleInstanceClass
since star argument lists produced by list methods ended up using the owning
list instance, polluting the contents of such lists. |
|
|
annotate.py simplified.py
|
|
206:397411420aed
|
2007-02-26 |
paulb |
changeset
files
shortlog
graph
|
Added string comparison methods. |
|
|
lib/builtins.py
|
|
205:920eb3dd4591
|
2007-02-26 |
paulb |
changeset
files
shortlog
graph
|
Minor formatting changes. |
|
|
simplify.py
|
|
204:9deeef8dc11a
|
2007-02-25 |
paulb |
changeset
files
shortlog
graph
|
Introduced instance annotations on program nodes in order to support more
complicated class/instance mechanisms, such as the "prolific" multiple instance
class introduced here.
Changed InvokeBlock plus LoadRef to just InvokeRef, adding subprogram copying in
order to avoid specialised copies of methods all sharing the same internal
subprograms.
Fixed the copying of argument attributes on nodes.
Changed list construction to use an internal subprogram, fixing the list
initialiser to be like the standard Python list initialiser.
Added "re-running" of invocations in order to prevent deep recursion which
crashes Python. |
|
|
annotate.py fixnames.py lib/builtins.py simplified.py simplify.py test.py
|
|
203:c413fccc7e51
|
2007-02-23 |
paulb |
changeset
files
shortlog
graph
|
Fixed/improved the import mechanism so that modules are recorded before
annotation.
Added a "no annotate" (-na) option to the test program.
Added Bitand support.
Added Yield support "placeholder". |
|
|
annotate.py lib/builtins.py simplified.py simplify.py test.py tests/bitand.py viewer.py
|
|
202:b86339b061e0
|
2007-02-23 |
paulb |
changeset
files
shortlog
graph
|
Fixed lambda annotations.
Fixed list comprehensions without if clauses.
Added assert support and the AssertionError built-in type.
Made the simplification process raise SimplifiedError instances when unsupported
nodes are encountered. |
|
|
lib/builtins.py simplified.py simplify.py test.py tests/assert.py viewer.py
|
|
201:95ea3c071ed9
|
2007-02-22 |
paulb |
changeset
files
shortlog
graph
|
Added tentative ListComp, ListCompFor, ListCompIf and Sliceobj support.
Changed pop-up element generation so that in cases where no information is
available, the pop-up elements are not generated.
Added a test of list comprehensions.
Added a slice built-in type. |
|
|
lib/builtins.py simplify.py tests/listcomp.py viewer.py
|
|
200:76b0d12a915c
|
2007-02-18 |
paulb |
changeset
files
shortlog
graph
|
Added various shootout tests (binary-trees, nbody and recursive work).
Added support for certain built-in object/function behaviour. |
|
|
lib/builtins.py tests/shootout/binary-trees.py tests/shootout/chameneos.py tests/shootout/fannkuch.py tests/shootout/fasta.py tests/shootout/nbody.py tests/shootout/recursive.py
|
|
199:d2dee1202635
|
2007-02-18 |
paulb |
changeset
files
shortlog
graph
|
Avoid duplicates in lists of invocations. |
|
|
viewer.py
|
|
198:317dbf48abd6
|
2007-02-18 |
paulb |
changeset
files
shortlog
graph
|
Rearranged the classes in the simplified module.
Added support for selective multiple instances using an __atomic__ attribute on
various classes. |
|
|
annotate.py lib/builtins.py simplified.py test.py
|
|