Taddeus Kroes
|
15abdd61c3
Parentheses are now only added to sub-expressions when nescesary.
|
пре 14 година |
Taddeus Kroes
|
84d65757bd
Negated sub-expressions now have to contain spaces to be enclosed in parentheses.
|
пре 14 година |
Taddeus Kroes
|
cccf4d634f
Negated n-ary operators are now enclosed in parentheses by line generator.
|
пре 14 година |
Taddeus Kroes
|
d1e486ac08
Line generaor now supports omission of negated multiplication sign.
|
пре 14 година |
Taddeus Kroes
|
8692113740
generate_line now rewrites 'a + -b' to 'a - b'.
|
пре 14 година |
Taddeus Kroes
|
4fd27cc28f
Added some more unit tests for line generator.
|
пре 14 година |
Taddeus Kroes
|
cf2d2ce464
Updated doctests.
|
пре 14 година |
Taddeus Kroes
|
fa7bed9265
Corrected typo.
|
пре 14 година |
Taddeus Kroes
|
bf0b2e54dd
Improved test cases for multiplication sign omission in line generator.
|
пре 14 година |
Taddeus Kroes
|
591a3e65e0
Parentheses around the left child are now left out when children of binary operators have equal precedences.
|
пре 14 година |
Taddeus Kroes
|
0bbbb5e60f
Corrected typo.
|
пре 14 година |
Taddeus Kroes
|
df5100b220
Fixed omission of n-ary multiplication sign in line generator.
|
пре 14 година |
Taddeus Kroes
|
6adf39c0d0
Added empty expression to line generator.
|
пре 14 година |
Taddeus Kroes
|
859c2948b3
Fixed coverage in Makefile.
|
пре 14 година |
Taddeus Kroes
|
a350c6f1f2
Merged new tests with older changes.
|
пре 14 година |
Taddeus Kroes
|
567e8f5c26
Added check for redundant multiplication operator.
|
пре 14 година |
Sander Mathijs van Veen
|
1855030e6e
Merge branch 'master' of kompiler.org:python/graph_drawing
|
пре 14 година |
Sander Mathijs van Veen
|
c4fd4af7ee
Removed parent attribute to avoid cyclic references between nodes.
|
пре 14 година |
Taddeus Kroes
|
b99a1f72b3
Fixed parentheses issue in expression that use both plus and minus.
|
пре 14 година |
Sander Mathijs van Veen
|
003a9e2536
Added some unit tests for exponentiation expressions.
|
пре 14 година |
Sander Mathijs van Veen
|
4d65a52b8b
Added two POW test cases. The last one is still failing\!
|
пре 14 година |
Sander Mathijs van Veen
|
bfd64e64d8
Changed 'assoc' to 'prec', because it's precedence.
|
пре 14 година |
Sander Mathijs van Veen
|
a34e48940a
Moved graph unicode signs outside the function and applied pep8.
|
пре 14 година |
Taddeus Kroes
|
ec0a7e59d3
Fixed issue that caused parentheses not to be added.
|
пре 14 година |
Sander Mathijs van Veen
|
45bee0e4fe
Fixed 'is this node a leaf?' issues.
|
пре 14 година |
Sander Mathijs van Veen
|
a509de439b
Leaf now extends Node, added Node representation fcuntionality.
|
пре 14 година |
Sander Mathijs van Veen
|
decaaecb61
Fixed parent edge centration issue.
|
пре 14 година |
Sander Mathijs van Veen
|
35dfadad12
Built in support for writing n-ary operator nodes.
|
пре 14 година |
Sander Mathijs van Veen
|
00abd696e6
Merge branch 'master' of kompiler.org:python/graph_drawing
|
пре 14 година |
Sander Mathijs van Veen
|
d851ef2b2b
Removed node type from graph drawer.
|
пре 14 година |