Taddeus Kroes
|
821c5062fd
Fixed multiplication sign omission when left node ends with a digit.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
43e674b5cd
Merge branch 'master' of kompiler.org:python/graph_drawing
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
f97095557f
Fixed powers parent parentheses.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
d7b3096197
Forced usage of Leaf stringification in line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
21f0710c80
Improved power multiplication and negation printing.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
5a1d45ef90
Removed old (now unused) line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
da0af4033a
Fixed parenthesis with new negation method in line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
fbfd0f2a3a
Changed __str__ with __repr__ and vice versa.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
4f3552b459
Added check that prevents that multiplication sign is not printed before a negated scope node.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
84ad376b81
Converted negation to counter instead of unary node.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
11940973bd
Made generate_line use the iterative, depth-first tree walker.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
e567923a8c
Eliminated repetitive replacement calls.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
15abdd61c3
Parentheses are now only added to sub-expressions when nescesary.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
84d65757bd
Negated sub-expressions now have to contain spaces to be enclosed in parentheses.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
cccf4d634f
Negated n-ary operators are now enclosed in parentheses by line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
d1e486ac08
Line generaor now supports omission of negated multiplication sign.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
8692113740
generate_line now rewrites 'a + -b' to 'a - b'.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
cf2d2ce464
Updated doctests.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
fa7bed9265
Corrected typo.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
bf0b2e54dd
Improved test cases for multiplication sign omission in line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
591a3e65e0
Parentheses around the left child are now left out when children of binary operators have equal precedences.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
0bbbb5e60f
Corrected typo.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
df5100b220
Fixed omission of n-ary multiplication sign in line generator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
a350c6f1f2
Merged new tests with older changes.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
567e8f5c26
Added check for redundant multiplication operator.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
b99a1f72b3
Fixed parentheses issue in expression that use both plus and minus.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
bfd64e64d8
Changed 'assoc' to 'prec', because it's precedence.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
a34e48940a
Moved graph unicode signs outside the function and applied pep8.
|
%!s(int64=14) %!d(string=hai) anos |
Taddeus Kroes
|
ec0a7e59d3
Fixed issue that caused parentheses not to be added.
|
%!s(int64=14) %!d(string=hai) anos |
Sander Mathijs van Veen
|
45bee0e4fe
Fixed 'is this node a leaf?' issues.
|
%!s(int64=14) %!d(string=hai) anos |