Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563571 views
1
2
3
Example
4
5
6
Example/Template of a GAP Package and Guidelines for Package Authors
7
8
9
Version 3.5.1
10
11
12
4 February 2017
13
14
15
Werner Nickel
16
17
Greg Gamble
18
19
Alexander Konovalov
20
21
22
23
Werner Nickel
24
Email: mailto:[email protected]
25
Homepage: http://www.mathematik.tu-darmstadt.de/~nickel
26
Greg Gamble
27
Email: mailto:[email protected]
28
Homepage: http://www.math.rwth-aachen.de/~Greg.Gamble
29
Alexander Konovalov
30
Email: mailto:[email protected]
31
Homepage: http://www.cs.st-andrews.ac.uk/~alexk/
32
33
-------------------------------------------------------
34
Copyright
35
© 1997-2012 by Werner Nickel, Greg Gamble and Alexander Konovalov
36
37
Example package is free software; you can redistribute it and/or modify it
38
under the terms of the GNU General Public License
39
(http://www.fsf.org/licenses/gpl.html) as published by the Free Software
40
Foundation; either version 2 of the License, or (at your option) any later
41
version.
42
43
44
-------------------------------------------------------
45
Acknowledgements
46
We appreciate very much all past and future comments, suggestions and
47
contributions to this package and its documentation provided by GAP users
48
and developers.
49
50
51
-------------------------------------------------------
52
53
54
Contents (Example)
55
56
1 The Example Package
57
1.1 The Main Functions
58
1.1-1 ListDirectory
59
1.1-2 FindFile
60
1.1-3 LoadedPackages
61
1.1-4 Which
62
1.1-5 WhereIsPkgProgram
63
1.1-6 HelloWorld
64
1.1-7 FruitCake
65
1.1-8 Recipe
66
2 Installing and Loading the Example Package
67
2.1 Unpacking the Example Package
68
2.2 Compiling Binaries of the Example Package
69
2.3 Loading the Example Package
70
A Guidelines for Writing a GAP Package
71
A.1 Structure of a GAP Package
72
A.2 Writing Documentation and Tools Needed
73
A.3 An Example of a GAP Package
74
A.4 File Structure
75
A.5 The PackageInfo.g File
76
A.6 Functions and Variables and Choices of Their Names
77
A.7 Package Dependencies (Requesting one GAP Package from within Another)
78
A.8 Declaration and Implementation Part of a Package
79
A.9 Autoreadable Variables
80
A.10 Standalone Programs in a GAP Package
81
A.10-1 Installation of GAP Package Binaries
82
A.10-2 Test for the Existence of GAP Package Binaries
83
A.10-3 Calling of and Communication with External Binaries
84
A.11 Having an InfoClass
85
A.12 The Banner
86
A.13 Version Numbers
87
A.14 Testing a GAP package
88
A.14-1 Tests files for a GAP package
89
A.14-2 Testing GAP package loading
90
A.14-3 LoadAllPackages
91
A.14-4 Testing a GAP package with the GAP standard test suite
92
A.15 Access to the GAP Development Version
93
A.16 Selecting a license for a GAP Package
94
A.17 Wrapping up a GAP Package
95
A.18 The WWW Homepage of a Package
96
A.19 Upgrading the package to work with GAP 4.5
97
A.19-1 Changes in GAP 4.5 from the packages perspective
98
A.20 Checklists
99
A.20-1 Package release checklist
100
A.20-2 Checklist for package upgrade to work with GAP 4.5
101
102
103

104
105