179:09d961170f35
|
2009-01-24 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fix unused objects optimisation for Attr instances with no predictable
assignment values. |
|
|
micropython/inspect.py
|
|
178:ac2d54b74516
|
2009-01-18 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved InspectError usage into the inspect module. |
|
|
micropython/data.py micropython/inspect.py
|
|
177:9abe641af4e6
|
2009-01-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Make unused name and object removal more conservative, avoiding issues of
module/class attributes and non-class/function objects being removed and then
being requested in code generation.
Ensure the registration of constant-related objects in order to prevent their
removal. |
|
|
micropython/inspect.py tests/attributes.py
|
|
176:d213a26b1846
|
2009-01-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Insist on Const instances as keys for the constants dictionary, ensuring that
distinct values are recognised, particularly True and 1, False and 0. |
|
|
micropython/__init__.py micropython/data.py
|
|
175:839a5b14e263
|
2009-01-16 |
Paul Boddie |
changeset
files
shortlog
graph
|
Separated functionality in Importer into distinct Importer and Program classes. |
|
|
micropython/__init__.py micropython/ast.py test.py
|
|
174:e38b8757fabc
|
2008-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some support for constant data.
Fixed LoadAttr and StoreAttr to actually access attribute locations.
Fixed RSVP execution of source and input instructions. |
|
|
micropython/__init__.py rsvp.py
|
|
173:e9402bb3f2de
|
2008-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved raw code production into the Importer class.
Attempted to support full, proper positioning of objects and code blocks.
Removed obsolete label support. |
|
|
micropython/__init__.py micropython/ast.py micropython/data.py micropython/rsvp.py test.py tests/attributes1.py
|
|
172:a25117656161
|
2008-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved method name information into the common module.
Tidied the handler methods for operators in the Translation class, making use of
the new binary and unary method name dictionaries which encode previously inline
information.
Introduced anticipated operator method name accounting to the inspect module,
ensuring that required methods are not removed before code generation occurs. |
|
|
micropython/ast.py micropython/common.py micropython/inspect.py
|
|
171:13861cd5d245
|
2008-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added status flags to the Importer, ensuring that certain operations (vacuum and
finalise) are performed before other operations.
Removed an explicit vacuum call from the test program.
Modified the code generation condition for functions, depending on whether they
have been referenced in a program.
Removed attribute finalisation in Class when class attributes are requested
since such details may be requested before finalisation.
Changed the InspectedModule vacuum method, removing the redundant deletion of
module names, instead relying on the master list of attribute/global names used
in a program. Added class namespace vacuuming using the master names list and
referencing information.
Added a finalise method to the InspectedModule class. |
|
|
micropython/__init__.py micropython/ast.py micropython/data.py micropython/inspect.py test.py
|
|
170:06a8cc27a08a
|
2008-11-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Upheld the class/function restrictions on removing objects. |
|
|
micropython/inspect.py
|
|