paulscherrerinstitute / StreamDevice

EPICS Driver for message based I/O
GNU General Public License v3.0
28 stars 42 forks source link

New syntax needed for interlaced arrays (aka tables) #30

Open dirk-zimoch opened 5 years ago

dirk-zimoch commented 5 years ago

At the moment, there is no good way to parse interlaced arrays: a[0],b[0],c[0];a[1],b[1],c[1];a[2],b[2],b[3];... And there is not even a bad way to print them. How should the syntax look like? I am inclined to this: in "possible prefix" [ "%f,%(recB)f,%(recC)f;" ] "possible postfix"; having [ outside of quotes. Or escaped: "[...]" ? When to stop if the array records differ in capacity (NELM)? First record to fill up and leave the remaining input in the input buffer? Last record to fill up and drop overflow elements? End of matching input and drop overflow elements?