Finish core IR definition, parsing, and write to .dot graph
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
6+ 239
− 33
@@ -6,26 +6,29 @@ pub fn write_dot<W: std::fmt::Write>(module: &Module, w: &mut W) -> std::fmt::Re
@@ -35,7 +38,6 @@ fn write_node<W: std::fmt::Write>(
@@ -51,32 +53,154 @@ fn write_node<W: std::fmt::Write>(
@@ -84,28 +208,90 @@ fn write_node<W: std::fmt::Write>(
@@ -125,6 +311,7 @@ fn get_string_node_kind(node: &Node) -> &'static str {
@@ -142,10 +329,29 @@ fn get_string_node_kind(node: &Node) -> &'static str {