86:12f29a090aa7
|
2008-05-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added notes about the operations performed by various instructions in relation
to the context of loaded data.
Attempted to make invocation code generation slightly more modular.
Attempted to fix argument production with respect to invocations which have an
explicit context as their first argument.
Made Const a subclass of Instance.
Added a context attribute to instructions which should be used when examining
instructions in certain optimisation situations. |
|
|
README.txt micropython/ast.py micropython/data.py micropython/rsvp.py rsvp.py tests/attributes.py tests/call_method.py
|
|
85:5076b9976f4d
|
2008-05-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a Constant superclass for Const, Class, Function and Module.
Fixed binary operator code generation to drop unused right method invocation
frames.
Added unary operator support.
Added usage of the unary and binary operator support for the remaining AST
nodes.
Added support for lambda inspection. |
|
|
micropython/ast.py micropython/data.py micropython/inspect.py tests/lambda.py
|
|
84:e7cd07e72de4
|
2008-05-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed rsvp module import of data-related classes.
Moved TableError to the common module. |
|
|
micropython/common.py micropython/rsvp.py micropython/table.py
|
|
83:96c5304f2242
|
2008-05-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved program data classes into micropython.data and some common classes into
the common module from the inspect module. |
|
|
micropython/ast.py micropython/common.py micropython/data.py micropython/inspect.py
|
|
82:619142384781
|
2008-05-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made AddressRelativeInstruction only display instance-related details.
Changed LoadAddress and StoreAddress to use AddressInstruction, which can now
display Attr and other relevant objects.
Removed None from the builtins module, making it a special constant.
Changed module inspection so that many handlers return instances instead of
None, thus producing better attributes for namespace entries.
Made constants per program rather than per module.
Fixed function default attributes for instantiators.
Fixed optimised attribute storage involving LoadConst. |
|
|
README.txt lib/builtins.py micropython/__init__.py micropython/ast.py micropython/inspect.py micropython/rsvp.py
|
|
81:5790cc867f93
|
2008-05-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted earlier changes around captured sequences of instructions and support
for alternative sequences in certain methods. |
|
|
micropython/ast.py
|
|
80:6040897ede2c
|
2008-05-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed instruction ordering in binary operator support, negating the need for the
previous instruction sequence changes. |
|
|
micropython/ast.py
|
|
79:1f879e94c49f
|
2008-05-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced parameters to certain methods which permit the retrieval and/or
inspection of previous instructions in alternative sequences; this helps in the
production of substitutable instruction sequences related to temporary storage
access.
Added methods which capture generated code for use with such temporary storage
instruction sequences, changing the existing methods to employ sequences instead
of single instructions. |
|
|
micropython/ast.py
|
|
78:a550b84e0ea5
|
2008-05-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made the temporary storage allocation and deallocation more adaptive so that
entries are only reserved when actually required and discarded when actually
used.
Introduced temporary storage usage for invocation targets instead of having a
LoadCallable instruction. |
|
|
micropython/ast.py tests/op_add.py
|
|
77:259153134864
|
2008-05-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the _optimise_known_target method to return None where the target and
context are not identified, thus producing a false value for testing.
Introduced optimisation of known targets when obtaining binary operator methods.
Changed constant attribute access to use LoadAddress (StoreAddress should not
apply).
Exposed code produced by the show function in the test program as a global. |
|
|
micropython/ast.py test.py
|
|