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 ...
|
|
214:398f466a7011
|
2009-05-16 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added notes about star parameter handling approaches.
Made minor documentation/comment fixes. |
|
|
docs/concepts.txt docs/invocation.txt micropython/ast.py micropython/trans.py rsvp.py
|
|
213:3063e2b7ff63
|
2009-05-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Started to add support for star parameters. |
|
|
docs/concepts.txt docs/invocation.txt lib/builtins.py micropython/ast.py micropython/data.py micropython/trans.py tests/call_func_star_parameter.py
|
|
212:9cb85e5768fa
|
2009-05-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added missing funccode to structures.
Renamed function_from_method to as_instantiator with naming changes.
Added a test of instantiation and keywords. |
|
|
docs/concepts.txt micropython/__init__.py micropython/data.py tests/class_init_keywords.py
|
|
211:4db18d4b2a85
|
2009-05-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed erroneous remark about __init__ and __call__ defaults.
Added a test of __init__ defaults.
Improved and renamed the invocation with non-constant defaults test. |
|
|
docs/concepts.txt tests/call_func_default_dynamic.py tests/call_func_default_non_constant.py tests/class_init_defaults.py
|
|
210:6bcd2a7c7a2a
|
2009-05-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reorganised the instance attribute positioning methods. |
|
|
micropython/data.py
|
|
209:eb198a981723
|
2009-05-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added note about accommodating default arguments on all object types. |
|
|
docs/concepts.txt
|
|
208:eb7b56b0caa3
|
2009-05-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added extra temporary storage to frames in order to let instantiators expand
frames backwards when adding instances to revised frames.
Simplified the AdjustFrame instruction, adding such an instruction at the end of
instantiator functions.
Reorganised the method invocation tests.
Added an empty native function for object initialisation. |
|
|
micropython/ast.py micropython/trans.py rsvp.py tests/call_method.py tests/call_method2.py tests/call_method3.py tests/call_method_ref.py tests/call_method_ref_internal.py tests/call_method_self.py tests/call_method_via_class.py ...
|
|
207:79f8d72c8c78
|
2009-05-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the instance attribute from DataObject (the common data structure),
employing the presence of a value on the attrcode attribute to indicate the
instance status of objects. |
|
|
docs/concepts.txt micropython/data.py micropython/program.py rsvp.py
|
|