Implement IR visualizer

This commit is contained in:
Minseong Jang
2022-01-27 15:16:14 +09:00
parent 126cfcb13d
commit 99d0ff1311
4 changed files with 284 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ mod equiv;
mod interp;
#[allow(clippy::all)]
mod parse;
mod visualize;
mod write_ir;
use core::convert::TryFrom;
@@ -19,6 +20,7 @@ use std::hash::{Hash, Hasher};
pub use dtype::{Dtype, DtypeError, HasDtype};
pub use interp::{interp, Value};
pub use parse::Parse;
pub use visualize::Visualizer;
#[derive(Debug, Clone, PartialEq)]
pub struct TranslationUnit {