2013-04-25 | Paul Boddie | file changeset files shortlog | Added a separate deduction process, simplifying the syspython code generation for attribute access and assignment. Ultimately, report generation should also benefit from the separate deduction process. Added the deduction stage and support for syspython generation to the test program. | syspython-as-target |
paul@646 | 1 | #!/usr/bin/env python |
paul@646 | 2 | |
paul@646 | 3 | class C: |
paul@646 | 4 | x = 1 |
paul@646 | 5 | |
paul@646 | 6 | class D(C): |
paul@646 | 7 | pass |
paul@646 | 8 | |
paul@646 | 9 | result1_1 = C.x |
paul@646 | 10 | result2_1 = D.x |
paul@646 | 11 | |
paul@646 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |