move Core.lex to Token.lex