Split into isle and islec crates

This commit is contained in:
Chris Fallin
2021-09-14 23:24:49 -07:00
parent e751f12ac5
commit 521010cc4f
14 changed files with 42 additions and 13 deletions

View File

@@ -70,17 +70,25 @@ dependencies = [
[[package]]
name = "isle"
version = "0.1.0"
dependencies = [
"log",
]
[[package]]
name = "islec"
version = "0.1.0"
dependencies = [
"clap",
"env_logger",
"isle",
"log",
]
[[package]]
name = "libc"
version = "0.2.97"
version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21"
[[package]]
name = "log"

View File

@@ -1,11 +1,2 @@
[package]
name = "isle"
version = "0.1.0"
authors = ["Chris Fallin <chris@cfallin.org>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
[dependencies]
log = "0.4"
env_logger = { version = "0.8", default-features = false }
clap = "2.33"
[workspace]
members = [ "isle", "islec" ]

View File

@@ -0,0 +1,9 @@
[package]
name = "isle"
version = "0.1.0"
authors = ["Chris Fallin <chris@cfallin.org>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
[dependencies]
log = "0.4"

View File

@@ -0,0 +1,9 @@
pub mod ast;
pub mod codegen;
pub mod compile;
pub mod error;
pub mod ir;
pub mod lexer;
pub mod parser;
pub mod sema;

View File

@@ -0,0 +1,12 @@
[package]
name = "islec"
version = "0.1.0"
authors = ["Chris Fallin <chris@cfallin.org>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
[dependencies]
log = "0.4"
isle = { version = "*", path = "../isle/" }
env_logger = { version = "0.8", default-features = false }
clap = "2.33"