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.
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.
There are online tools (e.g., https://magjac.com/graphviz-visual-editor/) that can visualize that output.
- `edu.kit.kastel.vads.compiler.ir.util.GraphVizPrinter` can generate output in
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.
We also try to keep track of source positions as much as possible through the compiler.
@ -85,4 +87,4 @@ meaning uses of `null` must be annotated, and not-null is assumed otherwise.
This project provides the wrapper for Gradle 8.14.
Additionally, the `application` plugin is used to easily specify the main class and build ready-to-use executables.
To ease setup ceremony,
the `foojay-resolver-convention` is used to automatically download a JDK matching the toolchain configuration.
the `foojay-resolver-convention` is used to automatically download a JDK matching the toolchain configuration.