A Simple Image Cache
Suppose your application downloads images and those images don't change that often.
It would be better to keep a cache of those images, and then only download the images you need.
More of an Ask. Is there any 2-D Lexers / Parsers?
All parsers I know read the input text as if it was a stream of characters.
Left To Right, Top to Bottom
Example source text.
a ::= [ 1 2 3 ] 4 5 6 1 2 3b ::= [ 4 5 6 ] 7 8 9
I can sort of define the grammar like so