Mention yed live as graphviz viewer

It's auto-layouts are quite powerful and zooming to node neighbourhoods
is also pretty useful.
This commit is contained in:
I-Al-Istannen 2025-05-05 22:48:56 +02:00
parent ce6506cb88
commit 803529403f

View file

@ -65,8 +65,10 @@ To figure out the cause, we provide utilities that ease debugging.
- `edu.kit.kastel.vads.compiler.parser.Printer` allows printing the AST. - `edu.kit.kastel.vads.compiler.parser.Printer` allows printing the AST.
As it inserts many parentheses, it can be helpful when debugging precedence problems. As it inserts many parentheses, it can be helpful when debugging precedence problems.
- `edu.kit.kastel.vads.compiler.ir.util.GraphVizPrinter` can generate output in the DOT format. - `edu.kit.kastel.vads.compiler.ir.util.GraphVizPrinter` can generate output in
There are online tools (e.g., https://magjac.com/graphviz-visual-editor/) that can visualize that output. the DOT format. There are online tools (e.g., the relatively powerful
<https://www.yworks.com/yed-live/> or the more barebones
<https://magjac.com/graphviz-visual-editor/>) that can visualize that output.
It allows debugging anything related to the IR. It allows debugging anything related to the IR.
We also try to keep track of source positions as much as possible through the compiler. We also try to keep track of source positions as much as possible through the compiler.