Commit History

Author SHA1 Message Date
  Taddeus Kroes da0af4033a Fixed parenthesis with new negation method in line generator. 14 years ago
  Sander Mathijs van Veen fbfd0f2a3a Changed __str__ with __repr__ and vice versa. 14 years ago
  Sander Mathijs van Veen db709d6cd2 Added all doctests as unit tests. 14 years ago
  Taddeus Kroes 4f3552b459 Added check that prevents that multiplication sign is not printed before a negated scope node. 14 years ago
  Taddeus Kroes e4a17ba8d2 Added negation to Leaf representation. 14 years ago
  Taddeus Kroes 122476b1eb Added negation to node stringification. 14 years ago
  Taddeus Kroes b3cbdd4e9d Cleared up some function names in unit tests. 14 years ago
  Taddeus Kroes 84ad376b81 Converted negation to counter instead of unary node. 14 years ago
  Sander Mathijs van Veen 11940973bd Made generate_line use the iterative, depth-first tree walker. 14 years ago
  Sander Mathijs van Veen 2b6168ce32 Added is_leaf attribute to Leaf and Node class. 14 years ago
  Sander Mathijs van Veen 3879a9caf7 Added iterative depth-first traversal routine. 14 years ago
  Sander Mathijs van Veen e567923a8c Eliminated repetitive replacement calls. 14 years ago
  Sander Mathijs van Veen 4028603310 Added support for multi inheritance constructor calls. 14 years ago
  Taddeus Kroes 15abdd61c3 Parentheses are now only added to sub-expressions when nescesary. 14 years ago
  Taddeus Kroes 84d65757bd Negated sub-expressions now have to contain spaces to be enclosed in parentheses. 14 years ago
  Taddeus Kroes cccf4d634f Negated n-ary operators are now enclosed in parentheses by line generator. 14 years ago
  Taddeus Kroes d1e486ac08 Line generaor now supports omission of negated multiplication sign. 14 years ago
  Taddeus Kroes 8692113740 generate_line now rewrites 'a + -b' to 'a - b'. 14 years ago
  Taddeus Kroes 4fd27cc28f Added some more unit tests for line generator. 14 years ago
  Taddeus Kroes cf2d2ce464 Updated doctests. 14 years ago
  Taddeus Kroes fa7bed9265 Corrected typo. 14 years ago
  Taddeus Kroes bf0b2e54dd Improved test cases for multiplication sign omission in line generator. 14 years ago
  Taddeus Kroes 591a3e65e0 Parentheses around the left child are now left out when children of binary operators have equal precedences. 14 years ago
  Taddeus Kroes 0bbbb5e60f Corrected typo. 14 years ago
  Taddeus Kroes df5100b220 Fixed omission of n-ary multiplication sign in line generator. 14 years ago
  Taddeus Kroes 6adf39c0d0 Added empty expression to line generator. 14 years ago
  Taddeus Kroes 859c2948b3 Fixed coverage in Makefile. 14 years ago
  Taddeus Kroes a350c6f1f2 Merged new tests with older changes. 14 years ago
  Taddeus Kroes 567e8f5c26 Added check for redundant multiplication operator. 14 years ago
  Sander Mathijs van Veen 1855030e6e Merge branch 'master' of kompiler.org:python/graph_drawing 14 years ago