The similarities of interpreter and translator