2012-05-02 | Paul Boddie | file changeset files shortlog | Changed the visitor dispatch to occur through visit methods on the AST nodes. (This requires a modified version of the compiler package.) Added report output support for yield statements and conditional expressions. |
paul@243 | 1 | #!/usr/bin/env python |
paul@243 | 2 | |
paul@243 | 3 | [x, y, z] = list((9, 8, 7)) |
paul@243 | 4 | |
paul@243 | 5 | result_9 = x |
paul@243 | 6 | result_8 = y |
paul@243 | 7 | result_7 = z |
paul@243 | 8 | |
paul@243 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |