From d56fe11b0caeeb9099a36e0e415e410cb4f0c65d Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Mon, 11 Mar 2024 12:04:38 +0100 Subject: [PATCH] feat: version and readme --- Cargo.lock | 22 +++++++++++----------- README.md | 19 +++++++++++++++++++ bin/edlangc/Cargo.toml | 4 ++-- edb/Cargo.toml | 4 ++-- lib/edlang_ast/Cargo.toml | 4 ++-- lib/edlang_check/Cargo.toml | 8 ++++---- lib/edlang_codegen_llvm/Cargo.toml | 10 +++++----- lib/edlang_driver/Cargo.toml | 16 ++++++++-------- lib/edlang_ir/Cargo.toml | 4 ++-- lib/edlang_lowering/Cargo.toml | 6 +++--- lib/edlang_parser/Cargo.toml | 4 ++-- lib/edlang_session/Cargo.toml | 2 +- lib/edlang_span/Cargo.toml | 2 +- 13 files changed, 62 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1b14525f4..227278d8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "edb" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "anyhow", "clap", @@ -248,14 +248,14 @@ dependencies = [ [[package]] name = "edlang_ast" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "edlang_span", ] [[package]] name = "edlang_check" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "ariadne", "edlang_ast", @@ -266,7 +266,7 @@ dependencies = [ [[package]] name = "edlang_codegen_llvm" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "edlang_ir", "edlang_parser", @@ -279,7 +279,7 @@ dependencies = [ [[package]] name = "edlang_driver" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "anyhow", "ariadne", @@ -300,7 +300,7 @@ dependencies = [ [[package]] name = "edlang_ir" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "edlang_span", "educe", @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "edlang_lowering" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "edlang_ast", "edlang_ir", @@ -319,7 +319,7 @@ dependencies = [ [[package]] name = "edlang_parser" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "ariadne", "edlang_ast", @@ -332,18 +332,18 @@ dependencies = [ [[package]] name = "edlang_session" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "ariadne", ] [[package]] name = "edlang_span" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" [[package]] name = "edlangc" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" dependencies = [ "edlang_driver", ] diff --git a/README.md b/README.md index c70fe5bae..41a8d729d 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,25 @@ mod Main { } ``` +## edb: The edlang builder + +`edb` is a tool like cargo but for edlang: + +``` +edlang builder + +Usage: edlang + +Commands: + new Initialize a project + build Build a project + help Print this message or the help of the given subcommand(s) + +Options: + -h, --help Print help + -V, --version Print version +``` + ## Dependencies - Rust diff --git a/bin/edlangc/Cargo.toml b/bin/edlangc/Cargo.toml index fc7b24e4b..5c7a95aec 100644 --- a/bin/edlangc/Cargo.toml +++ b/bin/edlangc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlangc" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "A experimental language using LLVM." edition = "2021" @@ -14,4 +14,4 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_driver = { version = "0.0.1-alpha.12", path = "../../lib/edlang_driver" } +edlang_driver = { version = "0.0.1-alpha.13", path = "../../lib/edlang_driver" } diff --git a/edb/Cargo.toml b/edb/Cargo.toml index 5dcf2b2d7..a75e37145 100644 --- a/edb/Cargo.toml +++ b/edb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edb" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "The edlang language builder." edition = "2021" @@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_driver = { version = "0.0.1-alpha.12", path = "../lib/edlang_driver" } +edlang_driver = { version = "0.0.1-alpha.13", path = "../lib/edlang_driver" } anyhow = "1" clap = { version = "4.4.16", features = ["derive"] } toml = "0.8.10" diff --git a/lib/edlang_ast/Cargo.toml b/lib/edlang_ast/Cargo.toml index e2fad72b9..b8e10bb5e 100644 --- a/lib/edlang_ast/Cargo.toml +++ b/lib/edlang_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_ast" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang AST" edition = "2021" @@ -13,4 +13,4 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" } +edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" } diff --git a/lib/edlang_check/Cargo.toml b/lib/edlang_check/Cargo.toml index 5906ea9fe..8ee2f3166 100644 --- a/lib/edlang_check/Cargo.toml +++ b/lib/edlang_check/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_check" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang check" edition = "2021" @@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang" [dependencies] ariadne = { version = "0.4.0", features = ["auto-color"] } -edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" } -edlang_lowering = { version = "0.0.1-alpha.12", path = "../edlang_lowering" } -edlang_session = { version = "0.0.1-alpha.12", path = "../edlang_session" } +edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" } +edlang_lowering = { version = "0.0.1-alpha.13", path = "../edlang_lowering" } +edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" } tracing = { workspace = true } diff --git a/lib/edlang_codegen_llvm/Cargo.toml b/lib/edlang_codegen_llvm/Cargo.toml index d2baa89db..13fa7fd94 100644 --- a/lib/edlang_codegen_llvm/Cargo.toml +++ b/lib/edlang_codegen_llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_codegen_llvm" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang LLVM codegen" edition = "2021" @@ -13,10 +13,10 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_ir = { version = "0.0.1-alpha.12", path = "../edlang_ir" } -edlang_parser = { version = "0.0.1-alpha.12", path = "../edlang_parser" } -edlang_session = { version = "0.0.1-alpha.12", path = "../edlang_session" } +edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" } +edlang_parser = { version = "0.0.1-alpha.13", path = "../edlang_parser" } +edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" } llvm-sys = "170.0.1" inkwell = { git = "https://github.com/TheDan64/inkwell", rev = "e0aa2e51a6cb501e4e2a889bbea12a1efab9c4ff", features = ["llvm17-0"] } tracing = { workspace = true } -edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" } +edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" } diff --git a/lib/edlang_driver/Cargo.toml b/lib/edlang_driver/Cargo.toml index db4662cf5..fcba3c1bf 100644 --- a/lib/edlang_driver/Cargo.toml +++ b/lib/edlang_driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_driver" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang compiler driver library" edition = "2021" @@ -16,13 +16,13 @@ repository = "https://github.com/edg-l/edlang" ariadne = { version = "0.4.0", features = ["auto-color"] } clap = { version = "4.4.16", features = ["derive"] } anyhow = "1" -edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" } -edlang_check = { version = "0.0.1-alpha.12", path = "../edlang_check" } -edlang_codegen_llvm = { version = "0.0.1-alpha.12", path = "../edlang_codegen_llvm" } -edlang_ir = { version = "0.0.1-alpha.12", path = "../edlang_ir" } -edlang_lowering = { version = "0.0.1-alpha.12", path = "../edlang_lowering" } -edlang_parser = { version = "0.0.1-alpha.12", path = "../edlang_parser" } -edlang_session = { version = "0.0.1-alpha.12", path = "../edlang_session" } +edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" } +edlang_check = { version = "0.0.1-alpha.13", path = "../edlang_check" } +edlang_codegen_llvm = { version = "0.0.1-alpha.13", path = "../edlang_codegen_llvm" } +edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" } +edlang_lowering = { version = "0.0.1-alpha.13", path = "../edlang_lowering" } +edlang_parser = { version = "0.0.1-alpha.13", path = "../edlang_parser" } +edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" } tracing = { workspace = true } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } walkdir = "2.5.0" diff --git a/lib/edlang_ir/Cargo.toml b/lib/edlang_ir/Cargo.toml index 443765e04..e224c46b7 100644 --- a/lib/edlang_ir/Cargo.toml +++ b/lib/edlang_ir/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_ir" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang IR" edition = "2021" @@ -13,6 +13,6 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" } +edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" } smallvec = "1.13.1" educe = "0.5.11" diff --git a/lib/edlang_lowering/Cargo.toml b/lib/edlang_lowering/Cargo.toml index 853c16021..da3c59e44 100644 --- a/lib/edlang_lowering/Cargo.toml +++ b/lib/edlang_lowering/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_lowering" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang lowering" edition = "2021" @@ -13,7 +13,7 @@ repository = "https://github.com/edg-l/edlang" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" } -edlang_ir = { version = "0.0.1-alpha.12", path = "../edlang_ir" } +edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" } +edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" } tracing.workspace = true thiserror = "1.0.57" diff --git a/lib/edlang_parser/Cargo.toml b/lib/edlang_parser/Cargo.toml index 15a87d2eb..060f43f72 100644 --- a/lib/edlang_parser/Cargo.toml +++ b/lib/edlang_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_parser" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang parser" edition = "2021" @@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang" [dependencies] ariadne = { version = "0.4.0", features = ["auto-color"] } -edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" } +edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" } itertools = "0.12.0" lalrpop-util = { version = "0.20.0", features = ["lexer"] } logos = "0.14.0" diff --git a/lib/edlang_session/Cargo.toml b/lib/edlang_session/Cargo.toml index 786e3d182..6688d0986 100644 --- a/lib/edlang_session/Cargo.toml +++ b/lib/edlang_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_session" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang session" edition = "2021" diff --git a/lib/edlang_span/Cargo.toml b/lib/edlang_span/Cargo.toml index eb65f1998..6efd1cb68 100644 --- a/lib/edlang_span/Cargo.toml +++ b/lib/edlang_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edlang_span" -version = "0.0.1-alpha.12" +version = "0.0.1-alpha.13" authors = ["Edgar Luque "] description = "edlang span" edition = "2021"