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