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
|
|
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
|
|