Irreducible characters of Kac–Moody Lie superalgebras