Split parser and lexer grammar in separate files so that lexer modes can be used.