Adding lexer code to hermes.zgr