Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
5022f8c
feat: Added CLI options for generating headers
Angus-Bethke-Bachmann Oct 16, 2025
af1a86d
fix: cargo fmt
Angus-Bethke-Bachmann Oct 16, 2025
fda1c44
feat: Added primitive types and functions that use primitive types to…
Angus-Bethke-Bachmann Oct 23, 2025
3853b44
feat: Added several complex types and refactored to allow for easier …
Angus-Bethke-Bachmann Oct 29, 2025
7354357
feat: Added function blocks and programs to the header generator
Angus-Bethke-Bachmann Oct 31, 2025
1489865
feat: Added new test cases and framework for re-using snapshots
Angus-Bethke-Bachmann Nov 6, 2025
0c70c86
feat: Included new test cases for header generation
Angus-Bethke-Bachmann Nov 7, 2025
db8ee88
feat: Updated tests to include participants
Angus-Bethke-Bachmann Nov 11, 2025
2369aa0
feat: refactored managers to be traits removing the oop pattern
Angus-Bethke-Bachmann Nov 11, 2025
bfa20d8
feat: completed refactor
Angus-Bethke-Bachmann Nov 13, 2025
42277a7
feat: formatting fixes
Angus-Bethke-Bachmann Nov 13, 2025
0b55455
feat: some directory adjustments
Angus-Bethke-Bachmann Nov 13, 2025
11af46f
feat: finalised refactor and test cases
Angus-Bethke-Bachmann Nov 17, 2025
351b94c
fix: cargo fmt
Angus-Bethke-Bachmann Nov 17, 2025
a8bf4a1
feat: Adding documentation for the various new features
Angus-Bethke-Bachmann Nov 17, 2025
f5cae57
feat: Documentation and minor refactors
Angus-Bethke-Bachmann Nov 20, 2025
eef9596
feat: Added end-to-end tests and added some missing components
Angus-Bethke-Bachmann Nov 25, 2025
934db97
fix: skipping compile on some documentation
Angus-Bethke-Bachmann Nov 25, 2025
0e0c4f6
feat: Added additional CLI to support a top level command for header …
Angus-Bethke-Bachmann Nov 26, 2025
96f574e
Merge remote-tracking branch 'origin/master' into anbt/PRG-3429
Angus-Bethke-Bachmann Nov 26, 2025
e078b3e
fix: accepting snapshot changes after the master merge
Angus-Bethke-Bachmann Nov 26, 2025
3dd54f5
fix: Added option to specify header ouput directories on the top leve…
Angus-Bethke-Bachmann Nov 27, 2025
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
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"rust-analyzer.runnables.extraTestBinaryArgs": [
"--nocapture"
]
}
],
"files.associations": {
"*.pli": "st"
}
}
165 changes: 165 additions & 0 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ plc_index = { path = "./compiler/plc_index" }
section_mangler = { path = "./compiler/section_mangler" }
logos = "0.12.0"
clap = { version = "3.0", features = ["derive"] }
indexmap = "2.0"
generational-arena = "0.2.8"
indexmap = { version = "2.0", features = ["serde"] }
generational-arena = { version = "0.2.8", features = ["serde"] }
regex = "1"
shell-words = "1.1.0"
plc_derive = { path = "./compiler/plc_derive" }
Expand Down Expand Up @@ -79,6 +79,7 @@ members = [
"compiler/plc_index",
"compiler/section_mangler",
"compiler/plc_lowering",
"compiler/plc_header_generator",
"tests/test_utils",
]
default-members = [".", "compiler/plc_driver", "compiler/plc_xml"]
Expand Down
4 changes: 3 additions & 1 deletion compiler/plc_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ edition = "2021"
plc_util = { path = "../plc_util" }
plc_source = { path = "../plc_source" }
chrono = { version = "0.4", default-features = false }
serde = { version = "1.0", features = ["derive"] }
# Enabled the RC feature (for Arc<T>) see: https://serde.rs/feature-flags.html#-features-rc
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json.workspace = true
derive_more = { version = "0.99.0", features = ["try_into"] }
rustc-hash.workspace = true
Loading
Loading