remove compilerPrimitives

short file of stuff either unused or should be in semanticsExtra