2010-08-09 | Paul Boddie | raw annotate files changeset 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. |
1 AST Node Annotations 2 ==================== 3 4 _attrnames defines a dictionary mapping local names to sets of attribute 5 names found to be used with those names 6 _attrusers defines a dictionary mapping local names to sets of nodes 7 defining those names 8 _scope set as "constant", "local", "global" or "builtins" 9 unit refers to a micropython Class, Function or Module instance