105:d4dd63e66f6c
|
2008-07-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a separate StoreException instruction.
Tidied the instruction docstrings to be more explicit about the instruction
inputs. |
|
|
micropython/ast.py micropython/rsvp.py
|
|
104:3bf7d0e10c17
|
2008-07-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made methods to handle assignment expression values.
Changed constant storage optimisations to consider sources.
Introduced distinctions between some storage operations which use the current
value (StoreTemp, StoreFrame, StoreResult) and others which use a source defined
in a full assignment operation.
Made class attribute assignment via self forbidden (removing
StoreAddressContext).
Added an unused results optimisation.
Fixed attribute_load_instructions references.
Improved instruction string representations to show source details where no
inputs are defined.
Made a failure version of the attributes test. |
|
|
micropython/ast.py micropython/data.py micropython/rsvp.py tests/attributes.py tests/failure/attributes.py
|
|
103:bc2c5bb980a8
|
2008-07-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved various methods around in the Translation class.
Removed the label from PopHandler.
Added load operation optimisations (similar to the previous stack access
optimisations).
Added explicit source attributes to store operations. |
|
|
micropython/ast.py micropython/rsvp.py
|
|
102:160e3ccc7dd6
|
2008-07-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Simplified temporary storage access instructions (using one instruction, not a
sequence).
Introduced exception handler stack instructions.
Improved Raise node support. |
|
|
micropython/ast.py micropython/rsvp.py
|
|
101:915efb968743
|
2008-07-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the value stack mechanisms.
Added and/not/or support.
Added a test of logical operators. |
|
|
micropython/ast.py micropython/rsvp.py tests/logical.py
|
|
100:00ce6c2f0440
|
2008-07-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the code generator to reject unsupported AST nodes. |
|
|
micropython/ast.py micropython/common.py
|
|
99:721d44d4eaf8
|
2008-07-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fix exception handler inspection.
Added traceback switch on the test program.
Added docstring. |
|
|
micropython/ast.py micropython/inspect.py test.py
|
|
98:3b2507704957
|
2008-06-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempted to improve invocations by adopting explicitly populated frames.
Attempted to resolve the context generation and validation strategy.
Attempted to improve optimisations, incorporating constant storage optimisations
into the new_op method and adding better tests for side-effect-resistant
operations suitable for stack optimisations, incorporating last invocation
tracking.
Changed the internal stack operation descriptions to use explicit classes, since
a distinct StackLoad instruction is now used (as opposed to StackPull which was
previously StackLoad, and StackPush which was previously StackSave).
Added LoadAddressContext and StoreAddressContext to address the issue of loading
class-originating attributes via an instance (predicted using self).
Removed various obsolete instructions and added stack operations to others.
Added a test of for loops. |
|
|
docs/invocation.txt micropython/ast.py micropython/data.py micropython/rsvp.py rsvp.py tests/for.py
|
|
97:78240b642d1f
|
2008-06-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added exception handler variable definition support to the inspection process.
Introduced frame position tracking in order to more accurately track and assign
stack element usage, employing special methods to be used around function
invocation code generation.
Added some support for raise statement code generation.
Simplified the remove_op_using_stack method and made more use of the actual
stack element information found in StackLoad operations.
Introduced a LoadResult instruction.
Added a test of simple exception raising and handling. |
|
|
micropython/ast.py micropython/inspect.py micropython/rsvp.py tests/exception.py
|
|
96:2300627a338d
|
2008-06-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added missing module attribute test files. |
|
|
tests/imported.py tests/importer.py
|
|