void Init() { nparser = ModuleRegister.CreateParser("nMars.Parser"); pparser = ModuleRegister.CreateParser("pMars.DllWrapper"); //pparser = new pMarsParser(Rules.DefaultRules); basePath = Utils.GetWarrirorsDirectory(); problemsPath = Utils.CleanProblems(basePath, "_problems"); }
public static CachingParser CreateParserInternal() { IParser pmarsParser = ModuleRegister.CreateParser("pMars.DllWrapper"); return(new CachingParser(pmarsParser)); }