Defines two major modes, one for editing lexer grammar files, one for editing regular parser grammar files.