Skip to content

Commit ecc0343

Browse files
committed
bump version to 0.2.0 and update changelog with new features and improvements
1 parent 8160be8 commit ecc0343

5 files changed

Lines changed: 319 additions & 202 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎plcscl/CHANGELOG.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## [0.2.0] - 2025-12-09
4+
5+
### Added
6+
- GOTO and label statements (IEC 61131-3 standard)
7+
- Compound assignment operators (+=, -=, *=, /=) for TIA Portal
8+
- Attribute syntax `{attribute 'name'}` for Beckhoff/TwinCAT compatibility
9+
- VAR_* RETAIN/NON_RETAIN support (VAR_INPUT RETAIN, VAR_OUTPUT RETAIN, VAR_IN_OUT RETAIN, VAR_TEMP RETAIN, VAR_EXTERNAL RETAIN)
10+
11+
### Fixed
12+
- Parser generator now handles optional RETAIN/NON_RETAIN keywords after VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT, VAR_TEMP, VAR_EXTERNAL
13+
- Files that previously failed on VAR_IN_OUT RETAIN (4 files) now parse further into the file
14+
15+
### Improved
16+
- Parser success rate: 37.1% (up from 14.3%, 2.6x improvement)
17+
- Note: Files with VAR_IN_OUT RETAIN now parse past that construct but may fail on other features
18+
- Grammar now has 109 rules (92 base SCL + 17 TIA extensions)
19+
20+
### Known Issues
21+
- Some attribute block syntaxes cause parse errors
22+
- Type declaration semicolon handling needs improvement
23+
324
## [0.1.0] - 2025-12-08
425

526
### Added

‎plcscl/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "plcscl"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "MIT"
66
description = "Parser and AST for Siemens SCL (Structured Control Language)"

0 commit comments

Comments
 (0)