61:e704da427db4
|
2008-03-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the builtins module definitions from the code, adding a separate module
adapted from that included with the "simplify" project which is processed in the
test program.
Introduced instantiator functions for classes, replacing the use of __init__
methods where classes are known to be invoked. |
|
|
lib/builtins.py micropython/__init__.py micropython/ast.py micropython/inspect.py test.py
|
|
60:1725bf186f73
|
2008-03-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced caching of object and parameter tables.
Added parameter table entries for classes, referring to the appropriate __init__
method which should be called when a class is invoked.
Added missing __init__ methods to list and listiterator. |
|
|
micropython/__init__.py micropython/inspect.py
|
|
59:04456ecc182e
|
2008-03-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempted to improve argument handling and to test argument list compatibility
with function parameter lists where possible.
Added __init__ methods to built-in classes and made all classes at least inherit
from object. |
|
|
README.txt micropython/ast.py micropython/inspect.py micropython/rsvp.py tests/call_func_extra.py tests/call_func_keyword.py tests/call_method.py tests/failure/argument_shortage.py tests/failure/argument_surplus.py
|
|
58:999f14fecba9
|
2008-03-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some tests of argument compatibility for predictable cases.
Improved the ProcessingError __repr__ string.
Added failure tests for keyword arguments. |
|
|
README.txt micropython/ast.py micropython/common.py tests/failure/keyword_conflict.py tests/failure/keyword_repeat.py
|
|
57:a7cbfb7bb92b
|
2008-03-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added tentative exception handling and binary operator support.
Added specific methods for managing loop and exception labels.
Added temporary value instructions. |
|
|
docs/exceptions.txt micropython/ast.py micropython/rsvp.py
|
|
56:47656b7fd267
|
2008-03-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added optimisation of constant assignments.
Added support for the display of unpositioned attributes. |
|
|
micropython/ast.py micropython/rsvp.py
|
|
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
|
|