forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modules_builtin.c
153 lines (129 loc) · 3.06 KB
/
modules_builtin.c
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/****************************************************************************
**
** This file is part of GAP, a system for computational discrete algebra.
**
** Copyright of GAP belongs to its developers, whose names are too numerous
** to list here. Please refer to the COPYRIGHT file for details.
**
** SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "modules_builtin.h"
#include "gap.h"
#include "gap_all.h"
#include "gaptime.h"
#include "hookintrprtr.h"
#include "info.h"
#include "intfuncs.h"
#include "iostream.h"
#include "libgap_intern.h"
#include "objccoll.h"
#include "objset.h"
#include "profile.h"
#include "sha256.h"
#include "syntaxtree.h"
#include "tracing.h"
#include "vec8bit.h"
#include "vecffe.h"
#include "vecgf2.h"
// clang-format off
/****************************************************************************
**
*V InitFuncsBuiltinModules . . . . . list of builtin modules init functions
*/
const InitInfoFunc InitFuncsBuiltinModules[] = {
#ifdef HPCGAP
// Traversal functionality may be needed during the initialization
// of some modules, so set it up as early as possible
InitInfoTraverse,
#endif
// global variables
InitInfoGVars,
// objects
InitInfoObjects,
// profiling and interpreter hooking information
InitInfoProfile,
InitInfoHookIntrprtr,
InitInfoTracing,
// reader, interpreter, coder, caller, compiler, ...
InitInfoIO,
InitInfoRead,
InitInfoCalls,
InitInfoExprs,
InitInfoStats,
InitInfoCode,
InitInfoVars, // must come after InitExpr and InitStats
InitInfoFuncs,
InitInfoOpers,
InitInfoInfo,
InitInfoIntrprtr,
InitInfoCompiler,
// arithmetic operations
InitInfoAriths,
// record packages
InitInfoRecords,
InitInfoPRecord,
// internal types
InitInfoInt,
InitInfoIntFuncs,
InitInfoRat,
InitInfoCyc,
InitInfoFinfield,
InitInfoPermutat,
InitInfoTrans,
InitInfoPPerm,
InitInfoBool,
InitInfoMacfloat,
// list packages
InitInfoLists,
InitInfoListOper,
InitInfoListFunc,
InitInfoPlist,
InitInfoSet,
InitInfoVector,
InitInfoVecFFE,
InitInfoBlist,
InitInfoRange,
InitInfoString,
InitInfoGF2Vec,
InitInfoVec8bit,
// free and presented groups
InitInfoFreeGroupElements,
InitInfoCosetTable,
InitInfoTietze,
InitInfoPcElements,
InitInfoCollectors,
InitInfoPcc,
InitInfoDeepThought,
InitInfoDTEvaluation,
// algebras
InitInfoSCTable,
// save and load workspace, weak pointers
InitInfoWeakPtr,
InitInfoSaveLoad,
// syntax and parser tools
InitInfoSyntaxTree,
// input and output
InitInfoStreams,
InitInfoSysFiles,
InitInfoIOStream,
// main module
InitInfoModules,
InitInfoGap,
InitInfoError,
InitInfoTime,
// objsets / objmaps
InitInfoObjSets,
#ifdef HPCGAP
// threads
InitInfoThreadAPI,
InitInfoAObjects,
InitInfoSerialize,
#else
// libgap API
InitInfoLibGapApi,
#endif
// SHA256
InitSHA256,
0
};
// clang-format on