-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.m
59 lines (46 loc) · 1.72 KB
/
init.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(* ::Package:: *)
(* Mathematica Package *)
(* Created by Mathematica Plugin for IntelliJ IDEA, see http://wlplugin.halirutan.de/ *)
(* :Title: Sledgehammer *)
(* :Context: Sledgehammer` *)
(* :Author: Thomas *)
(* :Date: 2019-08-01 *)
(* :Package Version: 0.6-dev *)
(* :Mathematica Version: 12.0 *)
(* :Copyright: (c) 2019 Thomas *)
(* :Keywords: *)
(* :Discussion: *)
$RecursionLimit = 4096;
(* Load all package fragments following https://mathematica.stackexchange.com/a/176489/61597 *)
Sledgehammer`Private`$PackageDirectory = DirectoryName[$InputFileName];
PrependTo[$Path, Sledgehammer`Private`$PackageDirectory];
Sledgehammer`Private`$spf = Get[FileNameJoin@{Sledgehammer`Private`$PackageDirectory, "Setup", "spf.mx"}];
Sledgehammer`Private`$names = Get[FileNameJoin@{Sledgehammer`Private`$PackageDirectory, "Setup", "symbol_names.mx"}];
If[! ValueQ@Sledgehammer`Private`$PackageNames,
Sledgehammer`Private`$PackageNames = {
"System`", "Internal`", "GeneralUtilities`",
"Combinatorica`", "Quaternions`", "FiniteFields`", "Experimental`",
"Sledgehammer`"}
];
Scan[Needs, {"Combinatorica`", "Quaternions`", "FiniteFields`", "Experimental`"}];
$ContextPath = DeleteCases[$ContextPath, "Combinatorica`"];
<< "Declarations.wl";
<< "Functions/Arrays.wl";
<< "Functions/Automata.wl";
<< "Functions/Constants.wl";
<< "Functions/Entities.wl";
<< "Functions/ExternalLangs.wl";
<< "Functions/Functional.wl";
<< "Functions/General.wl";
<< "Functions/Lists.wl";
<< "Functions/Math.wl";
<< "Functions/Sets.wl";
<< "SystemOverloads/Unprotects.wl";
(*
<< "SystemOverloads/Currying.wl"
<< "SystemOverloads/Operators.wl"
<< "SystemOverloads/String.wl"
*)
<< "Compressor/Models.wl";
<< "Compressor/Arithcoder.wl";
<< "Compressor/Interpreter.wl";