55:b830830c2534
|
2008-03-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed module placement when generating an image.
Reverted usage of Const around functions and classes.
Introduced specific classes of instructions.
Fixed parameter positioning.
Fixed single assignment optimisation output for attribute access.
Restricted attribute finalisation to classes and functions. |
|
|
micropython/__init__.py micropython/ast.py micropython/inspect.py micropython/rsvp.py test.py
|
|
54:ea87a87f49b9
|
2008-03-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added an Instance class to indicate where instance accesses are being
performed.
Extended the Const class to hold empty parent/context details.
Fixed function local name positions.
Added a method to Function to determine whether an attribute is relocated for
the class owning the function.
Reverted the parameter initialisation "fix" (set_parameter) since parameters are
unlikely to be single assignment candidates.
Added explicit attribute finalisation in the image generation.
Added a tentative optimisation for instance attributes (related to the
is_relocated method mentioned above).
Added incompatibility notes. |
|
|
docs/compatibility.txt micropython/__init__.py micropython/ast.py micropython/inspect.py micropython/rsvp.py
|
|
53:129e39a90117
|
2008-03-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added notes about attributes and contexts.
Changed most data classes to record the parent object in each instance,
excluding UnresolvedName whose instances often have no legitimate parent object.
Made various methods return a dictionary instead of the instance itself for a
collection of attributes, since although Class and Function support a dictionary
API, it is usually more convenient to obtain a genuine dictionary.
Added registration of "descendant" classes for each class, potentially enabling
support for self attribute access optimisations.
Added parameter local initialisation employing initial single assignment. |
|
|
README.txt docs/rationale.txt micropython/inspect.py
|
|
52:8422dd84e104
|
2008-02-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a summary table for attributes, contexts and values.
Added a convenience function to the test program. |
|
|
README.txt test.py
|
|
51:8d3b1d59f0bf
|
2008-02-25 |
Paul Boddie |
changeset
files
shortlog
graph
|
Re-use the earliest suggested attribute position, relocating attributes to
within the reserved space if the suggested positions are too high. |
|
|
micropython/inspect.py
|
|
50:189b5913ac62
|
2008-02-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Avoid importing non-module files such as temporary editor files. |
|
|
micropython/__init__.py
|
|
49:e1b70bf99b49
|
2008-02-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced attribute position re-use for class attributes as well as instance
attributes, improving the underlying mechanism.
Renamed the NamespaceDict to_list method to attributes_as_list, operating only
on the specific namespace defined locally on instances rather than on an
arbitrary namespace dictionary.
Added a finalise_attributes method to NamespaceDict in order to ensure that
attributes are fully defined.
Added more test data.
Added some more rationale material. |
|
|
docs/rationale.txt micropython/__init__.py micropython/inspect.py tests/subclass.py
|
|
48:3cc8cd3d0a14
|
2008-02-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a separate method for assigning instance attribute positions. |
|
|
micropython/inspect.py
|
|
47:8a0028b6ef9d
|
2008-02-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added docstrings.
Fixed the erroneous redefinition of instance attributes in the all_attributes
method. |
|
|
micropython/inspect.py
|
|
46:0fef6a91098c
|
2008-02-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to provide instance attribute position re-use.
Added a test of subclasses. |
|
|
micropython/inspect.py tests/subclass.py
|
|