IR and codegen backend trait¶
The codegen-side IR and the CodegenBackend trait (ethercat-esi-codegen (IR + ... (BB_0061))
that lets multiple emitters share it — XML-free, ethercrab-free.
The codegen-side IR (an extension of the parser IR with naming /
collision policy applied) and the |
The crate shall define a |
The |
When two devices in the input set share a product name but differ
in revision (e.g. |
When two or more devices’ PDOs include structurally identical entry layouts (same field order, same bit lengths, same data types), the codegen layer shall emit one shared PDO entry struct referenced by both devices rather than two duplicated structs. Structural equality is the deduplication key — names do not need to match. |
The codegen layer shall produce |