Skip to content

Commit 3e25d6e

Browse files
committed
Refactor PLCopen generated structures to use Box for inline elements, enhancing memory management and performance. Added detailed FBD analysis implementation plan and examples for testing FBD, LD, and ST/IL extraction. Introduced new tests for FBD parsing and reference extraction, ensuring comprehensive coverage of graphical languages in PLCopen projects.
1 parent e17d77d commit 3e25d6e

16 files changed

+1555
-62
lines changed

.github/copilot-instructions.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
my name is `zoo`
2+
3+
## Project Overview
4+
5+
This is a Rust workspace for parsing and analyzing PCL programming files.
6+
7+
**Primary goal:** Build tools for PLC code analysis, starting with a **Code Smell Detector / Static Analyzer**.
8+
9+
### Error Handling
10+
- Permissive parsing: continue on non-critical errors
11+
- Log warnings for unexpected content
12+
- Use enum-based errors (not `String` in `Err`)
13+
- dont use `panic!` in code, only in tests
14+
15+
## GIT
16+
- do not commit in git, except explicitely asked
17+
18+
## When Helping with This Project
19+
20+
1. **Check existing docs first** - Many decisions are documented in `docs/`
21+
2. **Use existing patterns** - Follow the XSD parser/codegen structure
22+
3. **Test with real files** - Use files in `~/devpublic/dataplc/` directory
23+
4. **Specificantion documents** - `~/devpublic/specs/`
24+
25+
26+

0 commit comments

Comments
 (0)