382:b174068d3e82
|
2010-09-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed branch abandonment and merging, replacing users with those defined for
branches when merging. Thus, the active users are effectively redefined after
each branchpoint.
Changed attribute usage processing to consider each set of attribute names for
each name separately, producing sets of object types which are then combined to
suggest types for each name.
Added a missing table method returning any object types providing members of a
set of attributes along with the static status of such attributes in those
types. |
|
|
micropython/__init__.py micropython/data.py micropython/table.py
|
|
381:774448304582
|
2010-09-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Propagated more detailed usage information to the importer in order to deduce
types for defining users, setting the _attrtypes annotation on user nodes.
Introduced the _attrdefs annotation which is used when looking up defining users
and thus accessor types for attribute access nodes.
Fixed a revised example of attribute usage optimisations.
Added RSVP return address markings in the memory display produced by the
show_memory method. |
|
|
micropython/__init__.py micropython/ast.py micropython/common.py micropython/data.py micropython/inspect.py micropython/trans.py rsvp.py tests/attribute_access_type_restriction_loop_accumulation.py
|
|
380:d5ee53c83a45
|
2010-09-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Updated the comments in attribute usage tests. |
|
|
tests/attribute_access_type_restriction_conditional.py tests/attribute_access_type_restriction_conditional_choice.py tests/attribute_access_type_restriction_conditional_choice_incompatible.py tests/attribute_access_type_restriction_new.py tests/attribute_access_type_restriction_new_conditional.py tests/attribute_access_type_restriction_single.py tests/attribute_access_type_restriction_single_instance.py
|
|
379:d5d8fa019db3
|
2010-09-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Switched the attribute usage mechanism to employ contributor nodes, established
by branches, which contribute usage information to the assignment nodes that
define actual attribute usage for names. |
|
|
TO_DO.txt micropython/data.py micropython/inspect.py tests/attribute_access_type_restriction_loop_accumulation.py
|
|
378:fd4d1b019e7d
|
2010-09-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Avoid mutation of the loop users when the attribute users are changed. |
|
|
micropython/data.py
|
|
377:b233b2a48837
|
2010-09-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed attribute usage tracking to consider branching and separate usage
possibilities in a slightly more rigourous way.
Attempted to add isinstance support.
Added tests of the revised attribute usage support. |
|
|
lib/builtins.py micropython/data.py micropython/inspect.py rsvplib.py tests/attribute_access_type_restriction_conditional_choice.py tests/attribute_access_type_restriction_conditional_choice_incompatible.py
|
|
376:bd11b8c03676
|
2010-09-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a note about frame re-use where parameters do not change. |
|
|
TO_DO.txt
|
|
375:762cc6e1a94e
|
2010-09-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added missing exception handling around the __main__ module. |
|
|
micropython/ast.py
|
|
374:76db40f8dd8c
|
2010-09-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced an "in assignment" flag to distinguish between slice and subscript
retrieval and assignment operations.
Moved slice and subscript support into various operator module functions. |
|
|
lib/operator.py micropython/ast.py micropython/common.py micropython/inspect.py micropython/trans.py
|
|
373:454d8255a4b1
|
2010-09-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed slice construction in the generated code.
Fixed the xrange and slice builtins to use a special undefined value where the
end of an xrange or slice is not defined.
Added a test of class attribute usage with default function/method parameters.
Moved the list slicing test into a new file, introducing a simpler testing of
the slicing mechanism. |
|
|
lib/builtins.py micropython/ast.py tests/call_func_default_class_attribute.py tests/slice.py tests/slice_list.py
|
|