243:6cf226d3df53
|
2009-06-14 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the constant input optimisation test to ensure that instances are not
generally considered constant.
Added a test for ambiguous classes where classes are defined using the same
name in the same module namespace.
Improved the test method in the RSVP implementation to handle missing results.
Improved test coverage. |
|
|
docs/concepts.txt micropython/__init__.py micropython/common.py micropython/data.py micropython/opt.py micropython/program.py rsvp.py tests/failure/instance_multiple_classes.py tests/instance.py tests/instance_initialisation.py ...
|
|
242:2a64685ab6dc
|
2009-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed module attributes to behave like class attributes and officially be
recognised as being statically positioned.
Improved test coverage of module attributes. |
|
|
docs/concepts.txt micropython/__init__.py micropython/ast.py micropython/data.py micropython/table.py rsvp.py tests/failure/importer_module_attribute_assignment.py tests/importer.py tests/importer_uncertain.py
|
|
241:edb8a3f00e89
|
2009-06-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced the removal of all explicitly defined methods from removed classes in
the InspectedModule.vacuum method when applying optimisations.
Added notes about exceptions, statistics about program size, and comments about
functions as methods. |
|
|
docs/exceptions.txt micropython/__init__.py micropython/data.py micropython/inspect.py rsvp.py
|
|
240:c93dcf98ca1b
|
2009-06-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the code body location initialisation in the code generation activity to
set either a specific location or a symbolic reference to a native function or
class (employing an instantiator).
Fixed the "for" loop iterator storage and exception handling.
Made xrange raise a StopIteration instance, short of adding class detection into
RaiseException.
Made code generation produce instantiators for StopIteration and BaseException,
with the latter also providing attribute/size information in the builtins
module.
Added more integer operations in the RSVP implementation. |
|
|
lib/builtins.py micropython/__init__.py micropython/ast.py micropython/data.py micropython/rsvp.py rsvp.py
|
|
239:db8334eb671f
|
2009-06-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added generation of some built-in classes and functions where docstrings are
provided.
Added an implementation of the xrange class.
Added a test of xrange and modified existing tests.
Fixed augmented assignment code generation. |
|
|
lib/builtins.py micropython/__init__.py micropython/ast.py tests/cond_if_else.py tests/for.py tests/xrange.py
|
|
238:424eacd02394
|
2009-06-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed RSVP implementations of attribute access instructions, handling empty
object table entries correctly and raising attribute errors under appropriate
circumstances.
Fixed the test for context overriding to handle the different context type
values appropriately. |
|
|
rsvp.py
|
|
237:31c5526286ba
|
2009-06-03 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced replaceable and placeholder contexts, replacing the null context
(None) with ReplaceableContext and introducing PlaceholderContext for class
value contexts via a new LoadClass instruction, thus permitting instantiators to
be called with such contexts. |
|
|
docs/concepts.txt micropython/ast.py micropython/data.py micropython/opt.py micropython/program.py micropython/rsvp.py micropython/trans.py rsvp.py
|
|
236:6ba10a65eddd
|
2009-06-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a separate globals processing phase, recording all declared global
names before attempting to resolve other names.
Removed the Global class and warning about globals not being declared at the
module level.
Added tests of globals. |
|
|
micropython/inspect.py tests/global_forward_declaration.py tests/global_implicit.py
|
|
235:2197662b8603
|
2009-06-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the inspect module to visit the module and class code sections before the
function code bodies, adding also some handling of forward/advance referencing
(where a name may accumulate objects after being marked as referenced).
Added a flag to Translation instances in order to generate ClearException
instructions before Return instructions in exception handlers.
Fixed class inspection to correctly collect all instance attributes (including
those mentioned in base classes).
Added elementary support for generic exceptions. |
|
|
lib/builtins.py micropython/ast.py micropython/data.py micropython/inspect.py rsvp.py tests/exception.py
|
|
234:77038806cb40
|
2009-06-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved context verification back into the invocation code, as opposed to residing
in the function body code. This is required because keyword arguments need to
operate on adjusted frames, and such adjustments must therefore occur because
keyword arguments are stored in their invocation frames.
Renamed CheckClassContext to the more general CheckClass instruction.
Made AdjustFrame operate on invocation frames again.
Introduced explicit tests for class invocation since instantiators require an
extra slot for each new instance.
Fixed the "if" statement to employ conversion of expression results to boolean
values.
Split and improved test programs. |
|
|
docs/invocation.txt micropython/ast.py micropython/opt.py micropython/rsvp.py micropython/trans.py rsvp.py tests/attributes_instance_bind_initialiser.py tests/cond_if.py tests/lambda.py tests/lambda_defaults.py ...
|
|