FILE FORMAT
In the description below, the items in between brackets are NOT literal,
they are placeholders. [S] is a placeholder for a string and [N] is a
placeholder for a decimal integer, and [B] is a placeholder for a boolean
value ('true' or 'false'). A line with "..." is not literal either, it
just means that the lines above repeat a certain number of times.
<Aewan Document v1
layer-count: int: [N]
meta-info: str: [S]
<Layer
name: str: [S]
width: int: [N]
height: int: [N]
visible: bool: [B]
transparent: bool: [B]
layer-line: str: [S]
layer-line: str: [S]
layer-line: str: [S]
(...there are <height> such lines...)
>Layer
(...there are <layer-count> such blocks...)
>Aewan Document v1
Indentation is ignored, but all other whitespace is significant.
In particular, you can't omit the space that immediately follows
the ':' field delimiters, or supply more than one space there.
Notice that the file format does not use any quotation marks
for the values, not even strings.