conlang: Move all cl-libs into the compiler directory

This commit is contained in:
John 2024-04-19 07:39:23 -05:00
parent 2a62a1c714
commit 90a3818ca0
52 changed files with 10 additions and 10 deletions

View File

@ -1,13 +1,13 @@
[workspace] [workspace]
members = [ members = [
"cl-repl", "compiler/cl-repl",
"cl-typeck", "compiler/cl-typeck",
"cl-interpret", "compiler/cl-interpret",
"cl-structures", "compiler/cl-structures",
"cl-token", "compiler/cl-token",
"cl-ast", "compiler/cl-ast",
"cl-parser", "compiler/cl-parser",
"cl-lexer", "compiler/cl-lexer",
"repline", "repline",
] ]
resolver = "2" resolver = "2"

View File

@ -15,7 +15,7 @@ cl-lexer = { path = "../cl-lexer" }
cl-token = { path = "../cl-token" } cl-token = { path = "../cl-token" }
cl-parser = { path = "../cl-parser" } cl-parser = { path = "../cl-parser" }
cl-interpret = { path = "../cl-interpret" } cl-interpret = { path = "../cl-interpret" }
repline = { path = "../repline" } repline = { path = "../../repline" }
argh = "0.1.12" argh = "0.1.12"
[dev-dependencies] [dev-dependencies]

View File

@ -13,7 +13,7 @@ use std::error::Error;
// Path to display in standard library errors // Path to display in standard library errors
const STDLIB_DISPLAY_PATH: &str = "stdlib/lib.cl"; const STDLIB_DISPLAY_PATH: &str = "stdlib/lib.cl";
// Statically included standard library // Statically included standard library
const STDLIB: &str = include_str!("../../stdlib/lib.cl"); const STDLIB: &str = include_str!("../../../stdlib/lib.cl");
// Colors // Colors
const C_MAIN: &str = ""; const C_MAIN: &str = "";