89:fed8371e233a
|
2008-05-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added partial support for converting generated code into a "raw" format,
although this may not be particularly appropriate at this stage of development. |
|
|
micropython/rsvp.py rsvp.py test.py
|
|
88:e83bc6d2e3b4
89:fed8371e233a 90:b1ef174ec4a2
|
2008-05-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added parent attributes to instances of various classes, since certain
situations cause such attributes to be tested. |
|
|
micropython/data.py
|
|
87:dfeec8c15758
|
2008-05-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Revised the rules around attributes and contexts, based on new observations
documented in the methods.py examples.
Added a context attribute to Attr instances in order to properly simulate the
revised rules.
Added context changing as values are added to namespaces.
Added missing context generation in invocation code generation.
Tidied up the formatted representations of data objects.
Fixed local variable positions.
Tidied up Getattr processing when inspecting modules.
Extended the tests to cover attribute access rules. |
|
|
README.txt micropython/ast.py micropython/data.py micropython/inspect.py micropython/rsvp.py tests/call_method.py tests/methods.py tests/reference/methods.py
|
|
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
|
|