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
|
|
221:1ecd4a4b2a05
|
2009-05-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed exception raising by actually instantiating exceptions properly in both
the generated code and in the RSVP instructions.
Simplified predefined internal class and instance template location
initialisation in RSVPMachine.
Added exception reporting in the RSVPMachine.run method. |
|
|
micropython/trans.py rsvp.py
|
|
220:2fb8b284aba3
|
2009-05-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added callable context vs. self argument validation in CheckFrame, plus a test
which detects an attempt to fake the self argument with an incompatible
instance. |
|
|
rsvp.py tests/attributes_class_bind_function_unbound_fake_self.py
|
|
219:b58aae0af656
|
2009-05-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the codedetails attribute from DataObject instances and from the
structure descriptions.
Added notes about argument checking for CheckFrame since the context needs to
be verified where it is required.
Made sure that the bool class is available since True and False are always
available and their methods must also be accessible via the object table.
Split various tests into separate programs with improved labelling. |
|
|
docs/concepts.txt micropython/__init__.py micropython/ast.py micropython/data.py micropython/inspect.py micropython/program.py rsvp.py tests/attributes.py tests/attributes1.py tests/attributes_class.py ...
|
|
218:b8550c04e807
|
2009-05-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed FillDefaults temporarily, but a proper get_operand method is required for
the instruction.
Enhanced test outputs and comments. |
|
|
micropython/ast.py rsvp.py tests/call_func_default_keyword.py tests/call_func_default_redefine.py
|
|
217:62219b8d6baf
|
2009-05-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed context detection in CheckFrame. |
|
|
rsvp.py
|
|
216:526a20aebd06
|
2009-05-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed unary operator code generation.
Added subscript support.
Added RSVP implementations of list.__getitem__ and int.__neg__.
Added a test of subscripts and a currently unused test of star parameter
unpacking. |
|
|
lib/builtins.py micropython/ast.py micropython/inspect.py micropython/trans.py rsvp.py tests/call_func_star_parameter_unpack.py tests/subscripts.py
|
|
215:626da7ae6d5e
|
2009-05-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved argument checking inside functions, changing the role of CheckFrame and
introducing a separate FillDefaults instruction.
Introduced a JumpWithFrameDirect instruction which is able, in conjunction with
a new code_body_location attribute on Function and Class instances (for function
bodies and class instantiator bodies respectively), to skip argument checking
for invocations which could be checked at compile-time.
Removed the invocation details from the common object structure.
Improved various tests. |
|
|
docs/concepts.txt micropython/__init__.py micropython/ast.py micropython/data.py micropython/rsvp.py micropython/trans.py rsvp.py tests/call_func.py tests/call_func_uncertain.py tests/failure/argument_surplus.py ...
|
|