chore: version 0.0.1-alpha.12

This commit is contained in:
Edgar 2024-03-02 10:23:53 +01:00
parent f969f37b8c
commit d99059405e
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387
12 changed files with 126 additions and 97 deletions

View file

@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file.
## [0.0.1-alpha.12] - 2024-03-02
### 🚀 Features
- Add casts
### 🐛 Bug Fixes
- *(ci)* Try to fix release ci changelog
### 🧪 Testing
- Add cast test
## [0.0.1-alpha.11] - 2024-03-01
### 🚀 Features

149
Cargo.lock generated
View file

@ -28,9 +28,9 @@ dependencies = [
[[package]]
name = "anstream"
version = "0.6.12"
version = "0.6.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96b09b5178381e0874812a9b157f7fe84982617e48f71f4e3235482775e5b540"
checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb"
dependencies = [
"anstyle",
"anstyle-parse",
@ -265,12 +265,6 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
[[package]]
name = "diff"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
[[package]]
name = "dirs-next"
version = "2.0.0"
@ -294,21 +288,21 @@ dependencies = [
[[package]]
name = "edlang"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"edlang_driver",
]
[[package]]
name = "edlang_ast"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"edlang_span",
]
[[package]]
name = "edlang_check"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"ariadne",
"edlang_ast",
@ -319,7 +313,7 @@ dependencies = [
[[package]]
name = "edlang_codegen_llvm"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"edlang_ir",
"edlang_parser",
@ -332,7 +326,7 @@ dependencies = [
[[package]]
name = "edlang_driver"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"ariadne",
"clap",
@ -352,7 +346,7 @@ dependencies = [
[[package]]
name = "edlang_ir"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"edlang_span",
"educe",
@ -361,7 +355,7 @@ dependencies = [
[[package]]
name = "edlang_lowering"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"edlang_ast",
"edlang_ir",
@ -371,7 +365,7 @@ dependencies = [
[[package]]
name = "edlang_parser"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"ariadne",
"edlang_ast",
@ -384,14 +378,14 @@ dependencies = [
[[package]]
name = "edlang_session"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
dependencies = [
"ariadne",
]
[[package]]
name = "edlang_span"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
[[package]]
name = "educe"
@ -515,9 +509,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
[[package]]
name = "hermit-abi"
version = "0.3.8"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "379dada1584ad501b383485dd706b8afb7a70fcbc7f4da7d780638a5a6124a60"
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "indenter"
@ -527,9 +521,9 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
[[package]]
name = "indexmap"
version = "2.2.3"
version = "2.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177"
checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4"
dependencies = [
"equivalent",
"hashbrown",
@ -571,9 +565,9 @@ dependencies = [
[[package]]
name = "itertools"
version = "0.10.5"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
dependencies = [
"either",
]
@ -589,34 +583,33 @@ dependencies = [
[[package]]
name = "lalrpop"
version = "0.20.0"
version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da4081d44f4611b66c6dd725e6de3169f9f63905421e8626fcb86b6a898998b8"
checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca"
dependencies = [
"ascii-canvas",
"bit-set",
"diff",
"ena",
"is-terminal",
"itertools 0.10.5",
"itertools 0.11.0",
"lalrpop-util",
"petgraph",
"pico-args",
"regex",
"regex-syntax 0.7.5",
"regex-syntax 0.8.2",
"string_cache",
"term",
"tiny-keccak",
"unicode-xid",
"walkdir",
]
[[package]]
name = "lalrpop-util"
version = "0.20.0"
version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d"
checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553"
dependencies = [
"regex",
"regex-automata 0.4.5",
]
[[package]]
@ -674,9 +667,9 @@ dependencies = [
[[package]]
name = "log"
version = "0.4.20"
version = "0.4.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
[[package]]
name = "logos"
@ -920,12 +913,6 @@ version = "0.6.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
[[package]]
name = "regex-syntax"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
[[package]]
name = "regex-syntax"
version = "0.8.2"
@ -957,6 +944,15 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
[[package]]
name = "same-file"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
dependencies = [
"winapi-util",
]
[[package]]
name = "scopeguard"
version = "1.2.0"
@ -1011,9 +1007,9 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
[[package]]
name = "syn"
version = "2.0.51"
version = "2.0.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ab617d94515e94ae53b8406c628598680aa0c9587474ecbe58188f7b345d66c"
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
dependencies = [
"proc-macro2",
"quote",
@ -1216,6 +1212,16 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "walkdir"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
dependencies = [
"same-file",
"winapi-util",
]
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
@ -1238,6 +1244,15 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
dependencies = [
"winapi",
]
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
@ -1259,7 +1274,7 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
"windows-targets 0.52.3",
"windows-targets 0.52.4",
]
[[package]]
@ -1294,17 +1309,17 @@ dependencies = [
[[package]]
name = "windows-targets"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d380ba1dc7187569a8a9e91ed34b8ccfc33123bbacb8c0aed2d1ad7f3ef2dc5f"
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
dependencies = [
"windows_aarch64_gnullvm 0.52.3",
"windows_aarch64_msvc 0.52.3",
"windows_i686_gnu 0.52.3",
"windows_i686_msvc 0.52.3",
"windows_x86_64_gnu 0.52.3",
"windows_x86_64_gnullvm 0.52.3",
"windows_x86_64_msvc 0.52.3",
"windows_aarch64_gnullvm 0.52.4",
"windows_aarch64_msvc 0.52.4",
"windows_i686_gnu 0.52.4",
"windows_i686_msvc 0.52.4",
"windows_x86_64_gnu 0.52.4",
"windows_x86_64_gnullvm 0.52.4",
"windows_x86_64_msvc 0.52.4",
]
[[package]]
@ -1321,9 +1336,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68e5dcfb9413f53afd9c8f86e56a7b4d86d9a2fa26090ea2dc9e40fba56c6ec6"
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
[[package]]
name = "windows_aarch64_msvc"
@ -1339,9 +1354,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8dab469ebbc45798319e69eebf92308e541ce46760b49b18c6b3fe5e8965b30f"
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
[[package]]
name = "windows_i686_gnu"
@ -1357,9 +1372,9 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
[[package]]
name = "windows_i686_gnu"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a4e9b6a7cac734a8b4138a4e1044eac3404d8326b6c0f939276560687a033fb"
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
[[package]]
name = "windows_i686_msvc"
@ -1375,9 +1390,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
[[package]]
name = "windows_i686_msvc"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28b0ec9c422ca95ff34a78755cfa6ad4a51371da2a5ace67500cf7ca5f232c58"
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
[[package]]
name = "windows_x86_64_gnu"
@ -1393,9 +1408,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "704131571ba93e89d7cd43482277d6632589b18ecf4468f591fbae0a8b101614"
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
[[package]]
name = "windows_x86_64_gnullvm"
@ -1411,9 +1426,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42079295511643151e98d61c38c0acc444e52dd42ab456f7ccfd5152e8ecf21c"
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
[[package]]
name = "windows_x86_64_msvc"
@ -1429,9 +1444,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.3"
version = "0.52.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0770833d60a970638e989b3fa9fd2bb1aaadcf88963d1659fd7d9990196ed2d6"
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
[[package]]
name = "yansi"

View file

@ -1,6 +1,6 @@
[package]
name = "edlang"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../../lib/edlang_driver" }
edlang_driver = { version = "0.0.1-alpha.12", path = "../../lib/edlang_driver" }

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_ast"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_span" }
edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" }

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_check"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_ast" }
edlang_lowering = { version = "0.0.1-alpha.11", path = "../edlang_lowering" }
edlang_session = { version = "0.0.1-alpha.11", path = "../edlang_session" }
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" }
tracing = { workspace = true }

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_codegen_llvm"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_ir" }
edlang_parser = { version = "0.0.1-alpha.11", path = "../edlang_parser" }
edlang_session = { version = "0.0.1-alpha.11", path = "../edlang_session" }
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" }
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.11", path = "../edlang_span" }
edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" }

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_driver"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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"] }
color-eyre = "0.6.2"
edlang_ast = { version = "0.0.1-alpha.11", path = "../edlang_ast" }
edlang_check = { version = "0.0.1-alpha.11", path = "../edlang_check" }
edlang_codegen_llvm = { version = "0.0.1-alpha.11", path = "../edlang_codegen_llvm" }
edlang_ir = { version = "0.0.1-alpha.11", path = "../edlang_ir" }
edlang_lowering = { version = "0.0.1-alpha.11", path = "../edlang_lowering" }
edlang_parser = { version = "0.0.1-alpha.11", path = "../edlang_parser" }
edlang_session = { version = "0.0.1-alpha.11", path = "../edlang_session" }
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" }
tracing = { workspace = true }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_ir"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_span" }
edlang_span = { version = "0.0.1-alpha.12", path = "../edlang_span" }
smallvec = "1.13.1"
educe = "0.5.11"

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_lowering"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_ast" }
edlang_ir = { version = "0.0.1-alpha.11", path = "../edlang_ir" }
edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" }
edlang_ir = { version = "0.0.1-alpha.12", path = "../edlang_ir" }
tracing.workspace = true
thiserror = "1.0.57"

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_parser"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
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.11", path = "../edlang_ast" }
edlang_ast = { version = "0.0.1-alpha.12", path = "../edlang_ast" }
itertools = "0.12.0"
lalrpop-util = { version = "0.20.0", features = ["lexer"] }
logos = "0.14.0"

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_session"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
description = "edlang session"
edition = "2021"

View file

@ -1,6 +1,6 @@
[package]
name = "edlang_span"
version = "0.0.1-alpha.11"
version = "0.0.1-alpha.12"
authors = ["Edgar Luque <edgar@edgarluque.com>"]
description = "edlang span"
edition = "2021"