Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
498 changes: 257 additions & 241 deletions CHANGELOG.md

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc-compiler"
version = "0.4.1-dev"
version = "0.5.0"
authors = [
"Ghaith Hachem <ghaith.hachem@gmail.com>",
"Mathias Rieder <mathias.rieder@gmail.com>",
Expand All @@ -18,19 +18,19 @@ default = []
verify = []

[dependencies]
plc_source = { path = "./compiler/plc_source", version = "0.4.1-dev" }
plc_ast = { path = "./compiler/plc_ast", version = "0.4.1-dev" }
plc_util = { path = "./compiler/plc_util", version = "0.4.1-dev" }
plc_diagnostics = { path = "./compiler/plc_diagnostics", version = "0.4.1-dev" }
plc_index = { path = "./compiler/plc_index", version = "0.4.1-dev" }
section_mangler = { path = "./compiler/section_mangler", version = "0.4.1-dev" }
plc_llvm = { path = "./compiler/plc_llvm", version = "0.4.1-dev" }
plc_source = { path = "./compiler/plc_source", version = "0.5.0" }
plc_ast = { path = "./compiler/plc_ast", version = "0.5.0" }
plc_util = { path = "./compiler/plc_util", version = "0.5.0" }
plc_diagnostics = { path = "./compiler/plc_diagnostics", version = "0.5.0" }
plc_index = { path = "./compiler/plc_index", version = "0.5.0" }
section_mangler = { path = "./compiler/section_mangler", version = "0.5.0" }
plc_llvm = { path = "./compiler/plc_llvm", version = "0.5.0" }
logos = "0.12.0"
clap = { version = "3.0", features = ["derive"] }
indexmap = { version = "2.0", features = ["serde"] }
generational-arena = { version = "0.2.8", features = ["serde"] }
shell-words = "1.1.0"
plc_derive = { path = "./compiler/plc_derive", version = "0.4.1-dev" }
plc_derive = { path = "./compiler/plc_derive", version = "0.5.0" }
which = "4.2.5"
log.workspace = true
inkwell.workspace = true
Expand All @@ -47,13 +47,13 @@ rustc-hash.workspace = true
num = "0.4"
insta.workspace = true
pretty_assertions = "1.3.0"
driver = { path = "./compiler/plc_driver/", package = "plc_driver", version = "0.4.1-dev" }
project = { path = "./compiler/plc_project/", package = "plc_project", version = "0.4.1-dev", features = [
driver = { path = "./compiler/plc_driver/", package = "plc_driver", version = "0.5.0" }
project = { path = "./compiler/plc_project/", package = "plc_project", version = "0.5.0", features = [
"integration",
] }
plc_xml = { path = "./compiler/plc_xml", version = "0.4.1-dev" }
plc_xml = { path = "./compiler/plc_xml", version = "0.5.0" }
test_utils = { path = "./tests/test_utils" }
plc_lowering = { path = "./compiler/plc_lowering", version = "0.4.1-dev" }
plc_lowering = { path = "./compiler/plc_lowering", version = "0.5.0" }
serial_test = "*"
tempfile = "3"
encoding_rs.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions compiler/plc_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "plc_ast"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
license = "LGPL-3.0"
description = "AST types for the PLC Structured Text compiler"

[dependencies]
plc_util = { path = "../plc_util", version = "0.4.1-dev" }
plc_source = { path = "../plc_source", version = "0.4.1-dev" }
plc_util = { path = "../plc_util", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
chrono = { version = "0.4", default-features = false }
# Enabled the RC feature (for Arc<T>) see: https://serde.rs/feature-flags.html#-features-rc
serde = { version = "1.0", features = ["derive", "rc"] }
Expand Down
2 changes: 1 addition & 1 deletion compiler/plc_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_derive"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
license = "LGPL-3.0"
description = "Derive macros for the PLC Structured Text compiler"
Expand Down
6 changes: 3 additions & 3 deletions compiler/plc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "plc_diagnostics"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
license = "LGPL-3.0"
description = "Diagnostics and error reporting for the PLC Structured Text compiler"

[dependencies]
codespan-reporting = "0.11.1"
plc_ast = { path = "../plc_ast", version = "0.4.1-dev" }
plc_source = { path = "../plc_source", version = "0.4.1-dev" }
plc_ast = { path = "../plc_ast", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
serde_json.workspace = true
serde.workspace = true
toml.workspace = true
Expand Down
22 changes: 11 additions & 11 deletions compiler/plc_driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_driver"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
build = "build.rs"
license = "LGPL-3.0"
Expand All @@ -9,15 +9,15 @@ description = "IEC 61131-3 Structured Text compiler"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
plc = { path = "../..", package = "plc-compiler", version = "0.4.1-dev" }
ast = { path = "../plc_ast/", package = "plc_ast", version = "0.4.1-dev" }
project = { path = "../plc_project/", package = "plc_project", version = "0.4.1-dev" }
source_code = { path = "../plc_source/", package = "plc_source", version = "0.4.1-dev" }
cfc = { path = "../plc_xml/", package = "plc_xml", version = "0.4.1-dev" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.4.1-dev" }
plc_index = { path = "../plc_index", version = "0.4.1-dev" }
plc_lowering = { path = "../plc_lowering", version = "0.4.1-dev" }
plc_header_generator = { path = "../plc_header_generator", version = "0.4.1-dev" }
plc = { path = "../..", package = "plc-compiler", version = "0.5.0" }
ast = { path = "../plc_ast/", package = "plc_ast", version = "0.5.0" }
project = { path = "../plc_project/", package = "plc_project", version = "0.5.0" }
source_code = { path = "../plc_source/", package = "plc_source", version = "0.5.0" }
cfc = { path = "../plc_xml/", package = "plc_xml", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.5.0" }
plc_index = { path = "../plc_index", version = "0.5.0" }
plc_lowering = { path = "../plc_lowering", version = "0.5.0" }
plc_header_generator = { path = "../plc_header_generator", version = "0.5.0" }

serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
Expand All @@ -36,7 +36,7 @@ itertools.workspace = true
[dev-dependencies]
pretty_assertions = "1.3.0"
insta.workspace = true
plc_util = { path = "../plc_util", version = "0.4.1-dev" }
plc_util = { path = "../plc_util", version = "0.5.0" }


[lib]
Expand Down
10 changes: 5 additions & 5 deletions compiler/plc_header_generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "plc_header_generator"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
license = "LGPL-3.0"
description = "C header file generator for the PLC Structured Text compiler"

[dependencies]
plc = { path = "../..", package = "plc-compiler", version = "0.4.1-dev" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.4.1-dev" }
plc_ast = { path = "../plc_ast/", version = "0.4.1-dev" }
plc_source = { path = "../plc_source/", version = "0.4.1-dev" }
plc = { path = "../..", package = "plc-compiler", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.5.0" }
plc_ast = { path = "../plc_ast/", version = "0.5.0" }
plc_source = { path = "../plc_source/", version = "0.5.0" }
tera = "1"
clap = { version = "3.0", features = ["derive"] }
regex = "1"
Expand Down
8 changes: 4 additions & 4 deletions compiler/plc_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "plc_index"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2021"
license = "LGPL-3.0"
description = "Symbol index and type system for the PLC Structured Text compiler"

[dependencies]
plc_ast = { path = "../plc_ast", version = "0.4.1-dev" }
plc_source = { path = "../plc_source", version = "0.4.1-dev" }
plc_diagnostics = { path = "../plc_diagnostics", version = "0.4.1-dev" }
plc_ast = { path = "../plc_ast", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics", version = "0.5.0" }
#plc_project = { path = "../plc_project" } # TODO: This will create a circular dependency
rustc-hash.workspace = true
annotate-snippets = "0.11.5"
Expand Down
2 changes: 1 addition & 1 deletion compiler/plc_llvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_llvm"
version = "0.4.1-dev"
version = "0.5.0"
edition = "2024"
license = "LGPL-3.0"
description = "LLVM Wrapper for C++ functions not exposed by inkwell or in the C API"
Expand Down
Loading
Loading