2011-06-13 | Paul Boddie | file changeset files shortlog | Renamed LoadResult and StoreResult. Changed the RSVP machine instruction handlers to accept an operand directly; this should assist the direct usage of instructions in the RSVP library. Added a trivial assignment test. |
paul@239 | 1 | #!/usr/bin/env python |
paul@239 | 2 | |
paul@239 | 3 | a = 0 |
paul@239 | 4 | |
paul@239 | 5 | if a: |
paul@239 | 6 | b = 1 |
paul@239 | 7 | else: |
paul@239 | 8 | b = 2 |
paul@239 | 9 | |
paul@239 | 10 | result_2 = b |
paul@239 | 11 | |
paul@239 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |