Clarify yed and graphviz visual editor features

This commit is contained in:
I-Al-Istannen 2025-05-05 23:40:02 +02:00
parent 803529403f
commit 9c992efea7

View file

@ -66,9 +66,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 - `edu.kit.kastel.vads.compiler.ir.util.GraphVizPrinter` can generate output in
the DOT format. There are online tools (e.g., the relatively powerful the DOT format. There are online tools (e.g.,
<https://www.yworks.com/yed-live/> or the more barebones <https://magjac.com/graphviz-visual-editor/>, which can display tooltips and
<https://magjac.com/graphviz-visual-editor/>) that can visualize that output. subgraphs, or https://www.yworks.com/yed-live/, which is relatively good at
neighbourhoods and larger layouts) 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.