192:2066cb2e583e
|
2009-03-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the Attr class to manage contexts and values together, replacing the
exposed value attribute with a get_value method (also supported by Const); this
complicates the test for an attribute being defined within a class hierarchy
since all contexts must be tested.
Updated the NamespaceDict class to update namespace entries according to the
revised Attr interface.
Updated the inspection code to permit the use of Attr objects when updating
namespaces, since the context information is important in such operations. |
|
|
micropython/ast.py micropython/data.py micropython/inspect.py micropython/opt.py rsvp.py
|
|
191:55c8334f8ef1
|
2009-02-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to enforce proper checks on attribute access with context overriding.
Attempt to make _CheckInstance work correctly. |
|
|
docs/assignment.txt rsvp.py
|
|
190:ae20cd4d0679
|
2009-02-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed namespace behaviour around assignments in order to record assigned values
properly.
Fixed StoreFrameIndex to use the parameter table and to accept the target as an
operand (via the current value).
Fixed StoreAddress to save the source value.
Introduced exception raising from within some instructions.
Expanded the DataObject to include function codes, employed by StoreFrameIndex.
Expanded the as_raw methods to have access to the parameter table.
Added default argument population in CheckFrame.
Added assignments in test programs in order to inspect program effects. |
|
|
micropython/__init__.py micropython/ast.py micropython/common.py micropython/data.py micropython/opt.py micropython/rsvp.py micropython/table.py rsvp.py tests/call_func_default.py tests/call_func_default_redefine.py
|
|
189:932777a0111f
|
2009-02-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed some parts of the structure documentation since the assignment
documentation now covers context transformations more accurately.
Moved the production of raw image details to the individual data and program
classes.
Split the default function parameter tests up into smaller units. |
|
|
docs/assignment.txt docs/structures.txt micropython/__init__.py micropython/ast.py micropython/common.py micropython/data.py tests/call_func_default.py tests/call_func_default_dynamic.py tests/call_func_default_keyword.py tests/call_func_default_redefine.py
|
|
188:daa47807b505
|
2009-02-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed default inputs. |
|
|
tests/op_add_default.py
|
|
187:9ae98b889fe7
|
2009-02-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed inspected context details to more accurately reflect the current policy.
Added more precise documentation about contexts, assignments and accesses.
Expanded the tests and reference programs around context behaviour.
Split the addition tests into more precise programs.
Fixed the RSVP integer addition result and instance tests.
Added a -m option to the test program to make an RSVP machine immediately. |
|
|
docs/assignment.txt micropython/ast.py micropython/data.py micropython/opt.py rsvp.py test.py tests/classes.py tests/methods.py tests/op_add.py tests/op_add_default.py ...
|
|
186:80ddd8db2612
|
2009-02-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Improved context-related documentation and related tests.
Added a document about assignment and access. |
|
|
docs/assignment.txt docs/structures.txt tests/attributes2.py tests/reference/methods.py
|
|
185:41f297e7800c
|
2009-02-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Speculative adjustment to contexts associated with new instances.
Added a more advanced test of instance calling. |
|
|
docs/structures.txt rsvp.py tests/call_instance2.py
|
|
184:0442304c5ada
|
2009-02-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced instance templates to the generated raw image.
Fixed StoreFrameIndex. |
|
|
docs/structures.txt micropython/__init__.py micropython/ast.py micropython/data.py rsvp.py
|
|
183:7d3226e3d4f7
|
2009-02-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed raw object positioning for functions with static defaults. |
|
|
micropython/__init__.py
|
|