improve compiler and interpreter error detection