Subscribe to The Madman Scribblings        RSS Feed
- - - - -

Are there any 2-D Lexers / Parsers?

Icon 8 Comments
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
...

Page 1 of 1