Divide the Label grammar into a lexer and a parser