I thought I'd try to write a Structured Text parser using pest, seeing as I always use lalrpop for this sort of thing (see Michael-F-Bryan/iec).
The general plan is to write a rustmatic-structured-text crate which will just read a Structured Text program into memory. Then we may have a rustmatic-iec crate which takes in the various forms of IEC 61131-3 and turns it into something more compiler-friendly (think MIR).
I thought I'd try to write a Structured Text parser using
pest
, seeing as I always uselalrpop
for this sort of thing (seeMichael-F-Bryan/iec
).The general plan is to write a
rustmatic-structured-text
crate which will just read a Structured Text program into memory. Then we may have arustmatic-iec
crate which takes in the various forms of IEC 61131-3 and turns it into something more compiler-friendly (think MIR).