From 8121c1c8bbbff110080af9f2804839c69fdf01ce Mon Sep 17 00:00:00 2001 From: John Date: Sun, 21 Apr 2024 23:41:38 -0500 Subject: [PATCH] Move typeck.rs from cl-repl to cl-typeck --- compiler/cl-repl/Cargo.toml | 3 --- compiler/cl-typeck/Cargo.toml | 5 +++++ compiler/{cl-repl => cl-typeck}/examples/typeck.rs | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename compiler/{cl-repl => cl-typeck}/examples/typeck.rs (100%) diff --git a/compiler/cl-repl/Cargo.toml b/compiler/cl-repl/Cargo.toml index e089c69..7c92001 100644 --- a/compiler/cl-repl/Cargo.toml +++ b/compiler/cl-repl/Cargo.toml @@ -17,6 +17,3 @@ cl-parser = { path = "../cl-parser" } cl-interpret = { path = "../cl-interpret" } repline = { path = "../../repline" } argh = "0.1.12" - -[dev-dependencies] -cl-typeck = { path = "../cl-typeck" } diff --git a/compiler/cl-typeck/Cargo.toml b/compiler/cl-typeck/Cargo.toml index b4742d1..b191128 100644 --- a/compiler/cl-typeck/Cargo.toml +++ b/compiler/cl-typeck/Cargo.toml @@ -10,3 +10,8 @@ publish.workspace = true [dependencies] cl-ast = { path = "../cl-ast" } cl-structures = { path = "../cl-structures" } + +[dev-dependencies] +repline = { path = "../../repline" } +cl-lexer = { path = "../cl-lexer" } +cl-parser = { path = "../cl-parser" } diff --git a/compiler/cl-repl/examples/typeck.rs b/compiler/cl-typeck/examples/typeck.rs similarity index 100% rename from compiler/cl-repl/examples/typeck.rs rename to compiler/cl-typeck/examples/typeck.rs