2008-08-18 | Paul Boddie | file changeset files shortlog | Added a class table which should provide run-time support for class compatibility testing. Improved optimisation activities to remove active value-providing instructions only where appropriate. Added more simple-input-employing instructions. Added notes about context discovery and replacement at run-time. Made the raw code dump include class contexts for class attributes where appropriate. Improved the tests of attribute access and invocation. |
paul@101 | 1 | #!/usr/bin/env python |
paul@101 | 2 | |
paul@101 | 3 | a = 1 |
paul@101 | 4 | b = 0 |
paul@101 | 5 | c = a and b |
paul@101 | 6 | d = a or b |
paul@101 | 7 | e = a and b or not a and not b |
paul@101 | 8 | |
paul@101 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |