Alignment Elimination from Adams' Grammars

06/20/2017
by   Härmel Nestra, et al.
0

Adams' extension of parsing expression grammars enables specifying indentation sensitivity using two non-standard grammar constructs --- indentation by a binary relation and alignment. This paper proposes a step-by-step transformation of well-formed Adams' grammars for elimination of the alignment construct from the grammar. The idea that alignment could be avoided was suggested by Adams but no process for achieving this aim has been described before.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset