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]
members = [
"cl-repl",
"cl-typeck",
"cl-interpret",
"cl-structures",
"cl-token",
"cl-ast",
"cl-parser",
"cl-lexer",
"compiler/cl-repl",
"compiler/cl-typeck",
"compiler/cl-interpret",
"compiler/cl-structures",
"compiler/cl-token",
"compiler/cl-ast",
"compiler/cl-parser",
"compiler/cl-lexer",
"repline",
]
resolver = "2"

View File

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

View File

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