Example #1
0
        public static void SetupLang(Context context)
        {
            ListContext.Setup(context);
            ListSugarContext.Setup(context);
            GeneralContext.Setup(context);
            TypePredicatesContextcs.Setup(context);
            ControlContext.Setup(context);
            LogicContext.Setup(context);
            MathContext.Setup(context);
            TableContext.Setup(context);

            TextContext.Setup(context);
            ModuleSystemContext.Setup(context);
            FileSystemContext.Setup(context);
            TimersContext.Setup(context);
            ThreadContext.Setup(context);
        }
Example #2
0
 public static void ExecuteFile(string filePath, bool catchExceptions = true)
 {
     ModuleSystemContext.ExecuteFile(filePath, catchExceptions);
 }