197:617f1f7f56ec
|
2009-04-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed constant loading.
Added bool to the builtins in order to ensure its presence.
Changed various load operations to have identical contexts and values (in order
to support callable instances).
Added a simple boolean native method. |
|
|
lib/builtins.py micropython/trans.py rsvp.py
|
|
196:072c14d15074
|
2009-04-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved helper and administrative Translation methods into the trans module's
Helper class.
Fixed code generation for accessing constants such as True and False.
Added true and false value addresses to the RSVP machine.
Added a test involving a swap operation, which should be optimised along with
sequence assignment in general. |
|
|
micropython/__init__.py micropython/ast.py micropython/trans.py rsvp.py test.py tests/swap.py
|
|
195:59637ebeb668
|
2009-03-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fix Attr usage. |
|
|
micropython/graph.py
|
|
194:6f6376544ce5
|
2009-03-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced new instruction definitions which represent different access
conditions, although not all are currently in use.
Removed the context override flag from the object list.
Introduced breakpoint support in the RSVP interpreter.
Made the working of the attributes test more open to inspection. |
|
|
docs/assignment.txt micropython/ast.py micropython/data.py micropython/opt.py micropython/rsvp.py micropython/table.py rsvp.py tests/attributes.py
|
|
193:ad0b88c81a1f
|
2009-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added more notes about, and a test of, class attribute context behaviour. |
|
|
docs/assignment.txt tests/attributes_class_multiple.py
|
|
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
|
|