From f88e2cd11dc617c957457ad0c5da5051aa42ef0a Mon Sep 17 00:00:00 2001 From: Ryan Chandler Date: Tue, 26 Jul 2022 17:56:23 +0100 Subject: [PATCH] runtime/bytecode/compiler: remove --- trunk_bytecode/Cargo.toml | 7 ------- trunk_bytecode/src/lib.rs | 11 ----------- trunk_compiler/Cargo.toml | 12 ------------ trunk_compiler/src/lib.rs | 3 --- trunk_runtime/Cargo.toml | 8 -------- trunk_runtime/src/lib.rs | 8 -------- 6 files changed, 49 deletions(-) delete mode 100644 trunk_bytecode/Cargo.toml delete mode 100644 trunk_bytecode/src/lib.rs delete mode 100644 trunk_compiler/Cargo.toml delete mode 100644 trunk_compiler/src/lib.rs delete mode 100644 trunk_runtime/Cargo.toml delete mode 100644 trunk_runtime/src/lib.rs diff --git a/trunk_bytecode/Cargo.toml b/trunk_bytecode/Cargo.toml deleted file mode 100644 index 53146f7..0000000 --- a/trunk_bytecode/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "trunk_bytecode" -version = "0.1.0" -edition = "2021" - -[lib] -doctest = false \ No newline at end of file diff --git a/trunk_bytecode/src/lib.rs b/trunk_bytecode/src/lib.rs deleted file mode 100644 index ae2f5b0..0000000 --- a/trunk_bytecode/src/lib.rs +++ /dev/null @@ -1,11 +0,0 @@ -pub type Register = usize; - -pub struct Instruction { - pub dest: Register, - pub code: Code, -} - -#[derive(Debug, PartialEq)] -pub enum Code { - -} \ No newline at end of file diff --git a/trunk_compiler/Cargo.toml b/trunk_compiler/Cargo.toml deleted file mode 100644 index c9b7027..0000000 --- a/trunk_compiler/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[package] -name = "trunk_compiler" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -trunk_parser = { path = "../trunk_parser" } - -[lib] -doctest = false \ No newline at end of file diff --git a/trunk_compiler/src/lib.rs b/trunk_compiler/src/lib.rs deleted file mode 100644 index b95c6f9..0000000 --- a/trunk_compiler/src/lib.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub fn compile() { - -} \ No newline at end of file diff --git a/trunk_runtime/Cargo.toml b/trunk_runtime/Cargo.toml deleted file mode 100644 index 087759f..0000000 --- a/trunk_runtime/Cargo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "trunk_runtime" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] diff --git a/trunk_runtime/src/lib.rs b/trunk_runtime/src/lib.rs deleted file mode 100644 index 1b4a90c..0000000 --- a/trunk_runtime/src/lib.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - let result = 2 + 2; - assert_eq!(result, 4); - } -}