who knows
This commit is contained in:
2
src/compiler/instruction.rs
Normal file
2
src/compiler/instruction.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
pub enum Instruction {
|
||||
}
|
||||
@@ -9,6 +9,7 @@ mod elf;
|
||||
mod program;
|
||||
pub mod riscv64;
|
||||
mod target;
|
||||
mod instruction;
|
||||
|
||||
pub use program::*;
|
||||
|
||||
|
||||
0
src/ir/lvl2/mod.rs
Normal file
0
src/ir/lvl2/mod.rs
Normal file
@@ -1,8 +1,9 @@
|
||||
mod namespace;
|
||||
mod structure;
|
||||
mod lvl1;
|
||||
mod lvl2;
|
||||
mod file;
|
||||
|
||||
pub use namespace::*;
|
||||
pub use structure::*;
|
||||
pub use lvl1::*;
|
||||
pub use file::*;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ impl Debug for Statement {
|
||||
match self {
|
||||
Statement::Let(n, e) => {
|
||||
f.write_str("let ")?;
|
||||
n.fmt(f);
|
||||
n.fmt(f)?;
|
||||
f.write_str(" = ")?;
|
||||
e.fmt(f)?;
|
||||
f.write_char(';')?;
|
||||
|
||||
Reference in New Issue
Block a user