parser based on egs for preprocessor added