blark
blark copied to clipboard
Beckhoff TwinCAT ST (IEC 61131-3) code parsing in Python using Lark (Earley)
Looks like `blark` isn't liking "repeated" variable declarations using a structured type. I just added a test case for this on [this branch](https://github.com/klauer/blark/tree/repeated-structured-type-declaration-fails-to-parse). Hope that I'll get a chance to...
Wondering if this is something you considered including or thing you'd be willing to accept? Asking here first before I fork or push a diff up, as I have a...
I'm considering making apischema a non-optional requirement. For those that are unaware, it's what allows blark to easily (de)serialize parsed code to/from JSON directly from the `blark.transform` dataclasses. It's currently...
- [x] Add sphinx (or mkdocs would be fine too) documentation to the repository - [x] Document the blark API (automatically) - [ ] Document the blark CLI entrypoint -...
The sphinx domain allows for generating PLC project API documentation directly from the source code. Currently, it's pretty limited - the proof-of-concept from #12 is now in master. A simple...
https://www.beckhoff.com/en-us/products/automation/twincat/twincat-3-build-4026/ Some relevant ones might include: > keyword: ABSTRACT for abstract function block/method/property definition > ENUMs available as strings in the PLC > exception handling via TRY-CATCH > conditional compilation...
The examples are old ones carried forward from iec2xml and don't really represent what blark can do nowadays. I'd like to add: * Better PLC code examples * Examples on...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...