Writing windows interpreter