The file should be plain text
containing a sequence of
lines.
Immediately following a rows line, there
should be h rules. The
line height h or
rows h must have preceded
it. (The latter is not counted as a rows
line.)
Immediately following a columns line,
there should be w
rules. The line
width w or
columns w must have preceded
it. (The latter is not counted as a columns
line.)
No rule may contain more than
r ints, if preceded by
maxrule r.
maxrule must appear no more than once.
width and height must appear
exactly once.
Lines beginning with unrecognised words are taken as properties.
line:-
maxrule int
{width|columns}int
{height|rows}int
rows
columns
rule
property string rule:-
int[, rule] int:-
a non-negative integer
