Using Linear Positional Grammars for the LR Parsing of 2 D Symbolic Languages