Commit History

Author SHA1 Message Date
  Taddeus Kroes e17779f211 Reimplemented line printer using precedences in accordance with the parser. 13 years ago
  Taddeus Kroes aade5fc51f Division now has a higher precedece than multiplication (like implemented by MathJax). 14 years ago
  Taddeus Kroes ade1a95046 Modified parentheses when handling with negation due to precedence change. 14 years ago
  Taddeus Kroes ea4270ebd4 Reduced negation precedence to MINUS. 14 years ago
  Taddeus Kroes 70714ec033 Added logical operators. 14 years ago
  Taddeus Kroes d3feae463b Added subscript operator with precedence equal to power. 14 years ago
  Taddeus Kroes 755c9b509b Corrected typo from previous commit. 14 years ago
  Taddeus Kroes 262f3558aa Added multiplication sign exception for left square bracket. 14 years ago
  Taddeus Kroes 775db0cb2c Added possibility to overrite 'construct_function'. 14 years ago
  Taddeus Kroes c0a73ab43d Further improved multiplication sign omission. 14 years ago
  Taddeus Kroes 01cf1342c3 Improved multiplication sign omission. 14 years ago
  Taddeus Kroes bb3c5d23dc Fixed fraction division line generator. 14 years ago
  Taddeus Kroes 7f65d03db3 Revert "Fixed multiplication sign omission when left node ends with a digit." 14 years ago
  Taddeus Kroes 821c5062fd Fixed multiplication sign omission when left node ends with a digit. 14 years ago
  Taddeus Kroes 43e674b5cd Merge branch 'master' of kompiler.org:python/graph_drawing 14 years ago
  Taddeus Kroes f97095557f Fixed powers parent parentheses. 14 years ago
  Taddeus Kroes d7b3096197 Forced usage of Leaf stringification in line generator. 14 years ago
  Taddeus Kroes 21f0710c80 Improved power multiplication and negation printing. 14 years ago
  Taddeus Kroes 5a1d45ef90 Removed old (now unused) line generator. 14 years ago
  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
  Taddeus Kroes 4f3552b459 Added check that prevents that multiplication sign is not printed before a negated scope node. 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 e567923a8c Eliminated repetitive replacement 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