2007-04-06 | paulb | file changeset files shortlog | Introduced sets throughout the code. Created a simplified package containing essential classes. Changed the annotation visitor so that nodes are not returned from each visitor method. Added a check on the context when invoking subprograms so that the extra Self node is not inserted into the arguments for non-instance methods or functions. |
paulb@186 | 1 | def f(): |
paulb@186 | 2 | a = 1 + 1.1 - 1 |
paulb@186 | 3 | b = a + 2 / 2 |
paulb@186 | 4 | c = -a |
paulb@186 | 5 | d = +b |
paulb@186 | 6 | e = a // b |
paulb@186 | 7 | |
paulb@186 | 8 | f() |