Skip to content

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

Open
@dirk-zimoch

Description

@dirk-zimoch

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions