File: main.doc

package info (click to toggle)
swi-prolog 5.0.0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,048 kB
  • ctags: 6,747
  • sloc: ansic: 52,452; perl: 13,276; sh: 2,646; makefile: 516; awk: 14
file content (187 lines) | stat: -rw-r--r-- 5,709 bytes parent folder | download | duplicates (2)
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
\documentclass[11pt,twoside]{report}
\usepackage{pl}
\usepackage{html}
%\onefile
\sloppy
\makeindex

% Configure latex2html

\htmloutput{Manual}				% Output directory
\htmlmainfile{index}				% Main document file
\bodycolor{white}				% Page colour
\linkimage{home}{home.gif}			% Images for links
\linkimage{index}{yellow_pages.gif}
\linkimage{contents}{index.gif}
\linkimage{up}{up.gif}
\linkimage{previous}{prev.gif}
\linkimage{next}{next.gif}
\linkimage{summary}{info.gif}

%\includeonly{ide}

#ifdef ONLINE
\usepackage{txt}
\usepackage{plonline}
\setcounter{secnumdepth}{3}
\sloppy
#else
\usepackage{times}
\usepackage{fancyheadings}
\renewcommand{\runningtitle}{SWI-Prolog \versionshort{} Reference Manual}
\headheight 14pt
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}} % remember chapter title
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
                                                % section number and title
\lhead[\fancyplain{}{\bf\thepage}]{\fancyplain{}{\bf\rightmark}}
\rhead[\fancyplain{}{\bf\leftmark}]{\fancyplain{}{\bf\thepage}}
\footrulewidth 0.2pt
\lfoot[\tiny \runningtitle]{}
\rfoot[]{\tiny \runningtitle}
\cfoot{}
\pagestyle{fancyplain}
#endif

\newcommand{\vmajor}{5}
\newcommand{\vminor}{0}
\newcommand{\vpatch}{0}
\newcommand{\vmonth}{February}
\newcommand{\vyear}{2002}

\newcommand{\versionshort}{\vmajor.\vminor}
\newcommand{\versionlong}{\vmajor.\vminor.\vpatch, \vmonth~\vyear}
\renewcommand{\arabicday}{\versionshort}

\title{SWI-Prolog \versionshort{} Reference Manual}
\author{\email[Jan Wielemaker]{jan@swi.psy.uva.nl}	\\ 
	Dept. of Social Science Informatics (SWI)	\\ 
	    Roeterstraat 15, 1018 WB~~Amsterdam		\\ 
		    The Netherlands			\\ 
		Tel. (+31) 20 5256121}
	
\begin{htmlonly}
\maketitle

\begin{abstract}
SWI-Prolog is a Prolog implementation based on a subset of the WAM
(Warren Abstract Machine). SWI-Prolog was developed as an {\em open}
Prolog environment, providing a powerful and bi-directional interface to
C in an era this was unknown to other Prolog implementations. This
environment is required to deal with XPCE, an object-oriented GUI system
developed at SWI. XPCE is used at SWI for the development of
knowledge-intensive graphical applications.

As SWI-Prolog became more popular, a large user-community provided
requirements that guided its development. Compatibility, portability,
scalability, stability and providing a powerful development environment
have been the most important requirements. Edinburgh, Quintus, SICStus
and the ISO-standard guide the development of the SWI-Prolog primitives.

This document gives an overview of the features, system limits and
built-in predicates.
\end{abstract}

\subsection*{About this document}

This manual is written and maintained using \LaTeX{}. The \LaTeX{}
source is included in the source distribution of SWI-Prolog. The manual
is converted into HTML using a converter distributed with the SWI-Prolog
sources. From the same source we generate the plain-text version and
index used by the online help system (located in the file \file{MANUAL}
in the library directory) as well as the PDF version. Sources, binaries
and documentation can be downloaded from the \url[SWI-Prolog download
page]{http://www.swi.psy.uva.nl/projects/SWI-Prolog/download.html}.

The SWI-Prolog project {\bf home page} is located
\url[here]{http://www.swi.psy.uva.nl/projects/SWI-Prolog/}

Copyright \copyright\ 1990--\year, University of Amsterdam
\end{htmlonly}


\begin{document}

\begin{titlepage}

\newlength{\uvawidth}
\settowidth{\uvawidth}{\LARGE University of Amsterdam}

\newcommand{\uvaaddress}{%
\parbox[b]{\uvawidth}{%
    \begin{center}
	\LARGE
	      University of Amsterdam			\\[3mm]
	\small
	Dept. of Social Science Informatics (SWI)	\\%
	    Roeterstraat 15, 1018 WB~~Amsterdam		\\%
		    The Netherlands			\\%
		Tel. (+31) 20 5256121
    \end{center}}}

\mbox{}\vspace{-1in}
\parbox{\textwidth}{%
    \makebox[\textwidth]{%
	\UvA{1in}%
	\hfill%
	\raisebox{-12pt}{\uvaaddress}
	\hfill%
	\SWI{1in}}
}
\vfil\vfil\vfil
\begin{center}
	{\Huge \bf SWI-Prolog \versionshort	\\[3mm]
	 \LARGE Reference Manual}		\\[3mm]
        {\it Updated for version \versionlong}	\\[1.5cm]
	{\large \it Jan Wielemaker}		\\[7mm]
	{\large jan@swi.psy.uva.nl}		\\
	{\large	http://www.swi.psy.uva.nl/projects/SWI-Prolog/}

\end{center}
\vfil
\begin{quote}
SWI-Prolog is a Prolog implementation based on a subset of the WAM
(Warren Abstract Machine). SWI-Prolog was developed as an {\em open}
Prolog environment, providing a powerful and bi-directional interface to
C in an era this was unknown to other Prolog implementations. This
environment is required to deal with XPCE, an object-oriented GUI system
developed at SWI. XPCE is used at SWI for the development of
knowledge-intensive graphical applications.

As SWI-Prolog became more popular, a large user-community provided
requirements that guided its development. Compatibility, portability,
scalability, stability and providing a powerful development environment
have been the most important requirements. Edinburgh, Quintus, SICStus
and the ISO-standard guide the development of the SWI-Prolog primitives.

This document gives an overview of the features, system limits and
built-in predicates.
\end{quote}
\vfil
\vfil
\begin{quote}
Copyright \copyright\ 1990--\vyear, University of Amsterdam
\end{quote}
\setcounter{page}{1}
\end{titlepage}

\tableofcontents

\include{intro}
\include{overview}
\include{ide}
\include{builtin}
\include{module}
\include{foreign}
\include{runtime}
\appendix
\include{lib/library}
\include{hack}
\include{glossary}
\include{license}
\include{summary}

\bibliographystyle{name}
\bibliography{pl}
\printindex

\end{document}