• Taddeüs Kroes's avatar
    Reimplemented line printer using precedences in accordance with the parser. · e17779f2
    Taddeüs Kroes authored
    - All special cases for negation have been removed, except when they are also
      present in the parser.
    - Some callbacks have been added to be able to customize output for certain
      operators in an extension of the Node class. This prevents chaotic sceneries
      in the graph_drawing library.
    - Some useful unit tests have been added to test the precedence- and
      callback-meschanisms.
    e17779f2
node.py 2.11 KB