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");
        }
Exemple #2
0
        public static CachingParser CreateParserInternal()
        {
            IParser pmarsParser = ModuleRegister.CreateParser("pMars.DllWrapper");

            return(new CachingParser(pmarsParser));
        }