42:8a50d440af2f
|
2008-02-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some notes on potential restrictions. |
|
|
README.txt
|
|
41:ebf7101aa969
|
2008-02-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed missing code location for class top-level code.
Added a test of while loops, along with some support for while, break and
continue. |
|
|
micropython/__init__.py micropython/ast.py micropython/inspect.py micropython/rsvp.py tests/loop_while.py
|
|
40:146aca040dae
|
2008-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Tidied exception messages. Added a test of local vs. global name conflicts. |
|
|
micropython/inspect.py tests/ambiguous_names.py
|
|
39:f20efed95927
|
2008-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed method code generation so that methods are not inappropriately generated
more than one.
Added support for the invocation of classes where the initialiser definition is
retrieved.
Improved exception handling. |
|
|
micropython/__init__.py micropython/ast.py micropython/common.py micropython/inspect.py test.py
|
|
38:88cac9d8f47e
|
2008-02-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed local name access in the code generator.
Changed code generation to produce class top-level code in sequence with other
code, rather than together with attribute definitions.
Changed notes about module structures. |
|
|
README.txt micropython/__init__.py micropython/ast.py
|
|
37:850db0ec0ccf
|
2008-02-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed NamespaceDict handling of global name assignments.
Changed the image layout, employing the new NamespaceDict.to_list method to
acquire attributes in order.
Made InspectError instances carry more information so that they can be used at
the top level of a program.
Improved string representations of instances.
Added notes about module header structures. |
|
|
README.txt micropython/__init__.py micropython/ast.py micropython/inspect.py test.py
|
|
36:5d8f34d7ce7f
|
2008-02-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed namespaces to return Attr objects and the visitor to pass around such
objects for use with base class resolution and attribute access. Namespaces
still accept "bare" objects, not Attr objects.
Removed the Self class, adding a name attribute to Attr objects to compensate.
Moved assignment tracking into the Attr objects so that there is a possibility
of certain characteristics of names being checked during module inspection;
for example, base classes can be checked to see if they are sufficiently
constant.
Fixed locals, all_locals results in the Function class. |
|
|
micropython/inspect.py tests/classes.py
|
|
35:dc9b0b8fa3af
|
2008-02-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added verbose mode.
Fixed InspectedModule.visitName to look up locals correctly. |
|
|
micropython/__init__.py micropython/inspect.py test.py
|
|
34:20651857e5b8
|
2008-02-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced loop construct tracking so that assignments occurring within loops
are always marked as potentially occurring many times.
Changed the NamespaceDict.set method to use a single_assignment parameter
instead of a global_assignment parameter since the latter is more specific than
necessary: non-global, loop-resident assignments produce the same effect on the
number of assignments registered.
Added a test of class attributes and loops within the top level of class
definitions. |
|
|
micropython/inspect.py tests/names.py
|
|
33:6594784030c6
|
2008-02-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed all_objects to only record distinct objects. |
|
|
micropython/inspect.py
|
|