354:978dc8a73ef5
|
2010-08-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed ExtendFrame instructions for empty units.
Removed superfluous instruction emission for dynamic functions without defaults.
Removed operator code emission, replacing it with calls to operator module
functions, replacing attribute usage where operators are used with specific
usage of the operator functions now involved.
Removed the superfluous _def AST node annotation, equivalent to the unit AST
node annotation already in use.
Changed the RSVP library to accept a dictionary of constants and to return
NotImplemented for incompatible integer comparison operations.
Added attribute usage pop-up elements to generated reports.
Fixed the augmented assignment test and the equality comparison test. |
|
|
docs/annotations.txt lib/operator.py micropython/ast.py micropython/common.py micropython/data.py micropython/inspect.py micropython/report.py micropython/trans.py rsvp.py rsvplib.py ...
|
|
353:34ebed37aecc
|
2010-08-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some support for HTML reports of program modules, separating the program
finalisation out into a separate method of the Program class, in order to avoid
obtaining an actual program image, yet removing unneeded parts of a program.
Moved code to test for the usage of program sections into the common module,
since this is also useful when generating reports.
Added AST node annotation documentation. |
|
|
docs/annotations.txt micropython/__init__.py micropython/ast.py micropython/common.py micropython/report.py test.py
|
|
352:67d7ed58ac50
|
2010-07-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the module search path to find standard library modules. |
|
|
test_all.py
|
|
351:eb03f44e16d1
|
2010-07-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed lambda definitions to have automatically generated names, and added
specific references to lambdas from their defining namespaces, enabling usage
analysis.
Introduced special lambda registration within namespaces and methods for
obtaining namespace contents specifically for vacuuming namespaces.
Added an is_lambda method to the Function class.
Added a test of the operator library module. |
|
|
TO_DO.txt micropython/__init__.py micropython/data.py micropython/inspect.py micropython/trans.py tests/operator_add.py
|
|
350:43e2354c73a8
|
2010-07-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added the lib directory to the start of the module search path. |
|
|
test.py
|
|
349:71182d5b740a
|
2010-06-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved base class references to within class namespaces. |
|
|
TO_DO.txt micropython/inspect.py
|
|
348:036c789784e3
|
2010-06-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved methods, added comments and docstrings. |
|
|
micropython/data.py
|
|
347:7775a7a9fbbf
|
2010-06-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed usage of built-in types, also fixing declarations of specific attribute
usage to apply to the actual namespace under inspection (not the module, which
was inadvertently the case before this fix). |
|
|
micropython/data.py micropython/inspect.py
|
|
346:3d45965e06d0
|
2010-06-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed object usage in the builtins and permitted the absence of generated
structures for various objects (especially those referenced and used by methods
defined in the runtime library) in the generated program, all in order to
minimise the amount of generated program code and data where various features
are not actually used in a program. |
|
|
lib/builtins.py micropython/inspect.py rsvp.py rsvplib.py
|
|
345:d44c000714fa
|
2010-06-16 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempted to introduce a more conservative approach to visiting program units
and collecting attributes.
Moved the declaration of StopIteration into the inspection method for the "for"
statement.
Added module registration so that attribute collection successfully visits
imported modules. |
|
|
lib/builtins.py micropython/__init__.py micropython/inspect.py
|
|