paul@342 | 1 | Check name origin where multiple branches could yield multiple scope interpretations:
|
paul@342 | 2 |
|
paul@342 | 3 | ----
|
paul@342 | 4 | try:
|
paul@342 | 5 | set # built-in name
|
paul@342 | 6 | except NameError:
|
paul@342 | 7 | from sets import Set as set # local definition of name
|
paul@342 | 8 |
|
paul@342 | 9 | set # could be confused by the local definition at run-time
|
paul@342 | 10 | ----
|
paul@342 | 11 |
|
paul@332 | 12 | Support __init__ traversal (and other implicit names) more effectively.
|
paul@332 | 13 |
|
paul@332 | 14 | Check context_value initialisation (avoiding or handling None effectively).
|
paul@332 | 15 |
|
paul@342 | 16 | __getitem__ could be written in Python, using a native method only to access fragments.
|
paul@342 | 17 | Support slicing.
|
paul@342 | 18 | Consider better "macro" support where new expressions need to be generated and processed.
|
paul@342 | 19 |
|
paul@342 | 20 | **** Constant attribute users need not maintain usage since they are already resolved. ****
|
paul@342 | 21 |
|
paul@310 | 22 | Loop entry points should capture usage to update later assignments in the loop.
|
paul@310 | 23 | The continue and break statements should affect usage propagation.
|
paul@304 | 24 |
|
paul@304 | 25 | Consider handling CallFunc in micropython.inspect in order to produce instances of specific classes.
|
paul@304 | 26 | Then, consider adding support for guard removal/verification where known instances are involved.
|
paul@304 | 27 | Consider handling branches of values within namespaces in order to support more precise value usage.
|