/// <summary> /// Option for on-demand initialization to prevent sudden lag during evaluation. /// The calling assembly is loaded via Extensibility unless specified otherwise. /// </summary> public static void Initialize(bool loadCallingAssembly = true, bool force = false) { if (loadCallingAssembly) { Assembly callingAssembly = Assembly.GetCallingAssembly(); Extensibility.LoadedExtensions.Add(callingAssembly); } FunctionRegistry.Init(force); TokenTypeRegistry.RegisterTokens(force); HelpLibrary.Init(force); Parser.Init(force); }