231:b8fea0931697
|
2009-05-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Split the descendant of the old classes test into two more specific tests of
attribute binding and methods/callables. |
|
|
tests/attributes_instance_bind_initialiser.py tests/attributes_instance_bind_method.py
|
|
230:892b13f1cba4
|
2009-05-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed instantiator invocation reserving a frame slot regardless of whether the
target is known in advance. In the instantiator, the first frame slot is then
overwritten with the new instance, and the RecoverFrame instruction is no longer
required. Instead, a new JumpInFrame instruction maintains the existing locals,
jumping to the initialiser method for the class.
Updated various tests, renaming and enhancing the classes test. |
|
|
docs/invocation.txt micropython/ast.py micropython/data.py micropython/rsvp.py micropython/trans.py rsvp.py tests/attributes_instance_bind_method.py tests/call_method.py tests/call_method_ref.py tests/call_method_ref_internal.py ...
|
|
229:a179262ea7c4
|
2009-05-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed RecoverFrame to actually recover the locals as the invocation frame,
rather than just discard the locals.
Changed AdjustFrame to work on the locals.
Switched the order of the above instructions in instantiator functions.
Made various tests compatible with the simple testing framework. |
|
|
micropython/ast.py rsvp.py tests/call_func.py tests/call_func_default.py tests/call_func_default_keyword.py tests/call_func_default_non_constant.py tests/call_func_default_redefine.py tests/call_func_extra.py tests/call_func_keyword.py tests/call_func_star_parameter_unpack.py ...
|
|
228:db7d77ceddda
|
2009-05-25 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved some functionality from test.py into the rsvp and micropython modules.
Moved test program code into more specific tests, adding support for automated
testing into some programs, and adding a test method to the RSVPMachine class. |
|
|
micropython/__init__.py rsvp.py test.py tests/attributes4.py tests/attributes_class.py tests/attributes_class_bind_function.py tests/attributes_class_bind_function_inherited.py tests/attributes_class_bind_function_inherited_internal.py tests/attributes_class_bind_function_inherited_via_self.py tests/attributes_class_bind_function_internal.py ...
|
|
227:8c504f98e45f
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the interface to functions and instantiators to expose the body block
(after argument checking) instead of an explicit location. |
|
|
micropython/data.py micropython/rsvp.py
|
|
226:44279e9276d6
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the LoadAttrIndexContext instruction.
Made LoadFunction usable for various optimisations.
Split various tests into smaller, more specific versions. |
|
|
micropython/ast.py micropython/opt.py micropython/rsvp.py micropython/trans.py rsvp.py tests/attributes2.py tests/attributes3.py tests/attributes_class_bind_function_inherited_internal.py tests/attributes_class_bind_function_inherited_via_self.py tests/attributes_class_bind_function_internal.py ...
|
|
225:be4035baf424
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed direct invocation locations by recording the body block on each function. |
|
|
micropython/ast.py micropython/data.py
|
|
224:f7698e3444e0
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed redundant code. |
|
|
rsvp.py
|
|
223:09ae448806d1
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a StoreAddressContext instruction for class attribute initialisation.
Fixed the mechanism behind LoadAttrIndexContextCond and LoadAddressContextCond
since it failed to provide the appropriate instance context for instance
accesses.
Added a LoadFunction instruction in order to distinguish between constants which
have no context information and those which do. |
|
|
docs/assignment.txt docs/concepts.txt micropython/ast.py micropython/opt.py micropython/rsvp.py micropython/trans.py rsvp.py tests/attributes_class_copy.py
|
|
222:d63a8400ce56
|
2009-05-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved logic from CheckFrame into separate CheckContext, CheckClassContext
instructions used in a sequence of generated instructions.
Fixed usage of the exception register in the RSVP machine. |
|
|
docs/concepts.txt micropython/ast.py micropython/opt.py micropython/rsvp.py micropython/trans.py rsvp.py
|
|