158:98862cdebb1e
|
2008-09-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Tidied up the optimiser by removing unnecessary translator/translation
references. |
|
|
micropython/ast.py micropython/opt.py
|
|
157:585f1b4330e0
|
2008-09-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Split the attributes2 test into smaller pieces. |
|
|
tests/attributes2.py tests/attributes3.py tests/attributes4.py
|
|
156:2c1ad8c1697d
|
2008-09-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Tidied the optimisations, moving the work done in the self access optimisation
back into the translator.
Made a reset method in the translator, performing a reset on the optimiser
before processing each unit. Added an optimiser reset after each statement. |
|
|
docs/optimisations.txt micropython/ast.py micropython/opt.py
|
|
155:4ca9aa7a4cc3
|
2008-09-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made the constant attribute accessor optimisation explicit. |
|
|
docs/optimisations.txt micropython/ast.py micropython/opt.py
|
|
154:69e4ee444ea0
|
2008-09-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved the Optimiser class into its own module, taking the responsibility for
maintaining active instruction information with it. |
|
|
micropython/__init__.py micropython/ast.py micropython/opt.py
|
|
153:c34b409b96e5
|
2008-09-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved some documentation to separate files in the docs directory, updating some
old details.
Made a few adjustments to the rationale. |
|
|
README.txt docs/evaluation.txt docs/namespaces.txt docs/rationale.txt
|
|
152:f4a3c0049b31
|
2008-09-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to remove excessive temporary storage usage for the results of
operators, reintroducing the mechanism to ensure the availability of temporary
storage locations when optimising temporary storage usage. |
|
|
micropython/ast.py tests/op_add_call.py
|
|
151:e267cf7cc9be
|
2008-09-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some support for augmented assignment.
Attempted to fix unary and binary operations to actually produce results: the
result from each successful call was not being retained and produced for further
use. |
|
|
micropython/ast.py tests/op_iadd.py
|
|
150:a57568d6dfc8
|
2008-09-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Apply the simple case immediate assignment optimisation to attribute assignment. |
|
|
micropython/ast.py
|
|
149:c1982c40f0cf
|
2008-09-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved graph definition production to a separate module. |
|
|
micropython/__init__.py micropython/graph.py test.py
|
|