2009-06-21 | Paul Boddie | file changeset files shortlog | Changed the list representation to use an interchangeable "fragment" object which holds the contents of each list. Added a MakeFragment instruction and RSVP support for some list methods. Added built-in implementations of len and range. Added more test script and RSVP options. Improved test coverage. |
paul@73 | 1 | #!/usr/bin/env python |
paul@73 | 2 | |
paul@73 | 3 | a = 1 |
paul@73 | 4 | b = 2 |
paul@73 | 5 | c = a + b |
paul@78 | 6 | d = a + b + c |
paul@73 | 7 | |
paul@246 | 8 | result_3 = c |
paul@246 | 9 | result_6 = d |
paul@246 | 10 | |
paul@73 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |