parser almost working, some weird possible minGW error