nodalis-compiler 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [1.0.8] - 2025-12-16
8
+ ## [1.0.10] - 2025-12-16
9
9
 
10
10
  - Fixed issue with copying support files for CPP and JS compilers.
11
11
  - Updated mticp
12
+ - Fixed issue with IEC parser and set/reset coils.
12
13
 
13
14
  ## [1.0.6]
14
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodalis-compiler",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Compiles IEC-61131-3/10 languages into code that can be used as a PLC on multiple platforms.",
5
5
  "icon": "nodalis.png",
6
6
  "main": "src/nodalis.js",
@@ -2535,12 +2535,12 @@ export class LdObject extends Serializable{
2535
2535
  }
2536
2536
  else if(this.Latch === "set"){
2537
2537
  st = `IF (${expression}) THEN
2538
- ${this.Operand} + " := 1;"
2538
+ ${this.Operand} := 1;"
2539
2539
  END_IF;`;
2540
2540
  }
2541
2541
  else if(this.Latch === "reset"){
2542
2542
  st = `IF (${expression}) THEN
2543
- ${this.Operand} + " := 0;"
2543
+ ${this.Operand} := 0;"
2544
2544
  END_IF;`;
2545
2545
  }
2546
2546