2009-04-23 | Paul Boddie | file changeset files shortlog | Added missing built-in methods. Added inspection of "if" test expressions. Removed StoreName from the constant storage optimisation (until population of locals/frames is implemented). Added debugging attributes to RSVPMachine for the object and parameter lists. Fixed the StoreName instruction to use the source, not the value. Added common names in use. |
paul@41 | 1 | #!/usr/bin/env python |
paul@41 | 2 | |
paul@41 | 3 | class C: |
paul@41 | 4 | value = "hello" |
paul@115 | 5 | x = 10 |
paul@41 | 6 | while x > 0: |
paul@41 | 7 | subvalue = "world" |
paul@115 | 8 | x = x - 1 |
paul@41 | 9 | |
paul@41 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |