File: libmaa.tex

package info (click to toggle)
libmaa 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,008 kB
  • sloc: ansic: 6,384; perl: 235; makefile: 176; awk: 92; sh: 23
file content (165 lines) | stat: -rw-r--r-- 5,630 bytes parent folder | download | duplicates (3)
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
% user.tex -- User Manual for Libmaa
% Created: Tue Jan  3 11:07:54 1995 by faith@cs.unc.edu
% Revised: Wed May 21 00:49:39 1997 by faith@acm.org
% Copyright 1995, 1997 Rickard E. Faith (faith@acm.org)
%
% Permission is hereby granted, free of charge, to any person obtaining
% a copy of this software and associated documentation files (the
% "Software"), to deal in the Software without restriction, including
% without limitation the rights to use, copy, modify, merge, publish,
% distribute, sublicense, and/or sell copies of the Software, and to
% permit persons to whom the Software is furnished to do so, subject to
% the following conditions:
% 
% The above copyright notice and this permission notice shall be
% included in all copies or substantial portions of the Software.
% 
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
% EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
% MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
% NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
% LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
% OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
% WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
%
% $Id: libmaa.tex,v 1.3 1997/05/21 05:01:33 faith Exp $
%
\def\FileCreated{Tue Jan  3 11:07:54 1995}
\def\FileRevised{Wed May 21 00:49:39 1997}

\documentclass[draft]{article}
\usepackage{xspace}
%\usepackage{program}
\usepackage{verbatim}
\usepackage{lgrind}
\usepackage{epic}
\usepackage{eepicemu}
%\usepackage{outline}
\usepackage{ifthen}

\addtolength{\textwidth}{0.7in}
\addtolength{\evensidemargin}{-0.7in}

\DeclareFontShape{OT1}{cmtt}{bx}{n}{
  <5><6><7><8>cmbtt8
  <9>cmbtt9
  <10><10.95><12><14.4><17.28><20.74><24.88>cmbtt10
  }{}
\DeclareFontShape{OT1}{cmr}{bx}{sc}{
  <5><6><7><8><9><10><10.95><12>
  <14.4><17.28><20.74><24.88> cmbcsc10
  }{}

\newcommand{\prog}[1]{\texttt{#1}\xspace}
\newcommand{\system}[1]{\textsc{#1}\xspace}
%\newcommand{\keyword}[1]{\texttt{#1}\xspace}
\newcommand{\figref}[1]{Fig.~\ref{#1}\xspace}

\newcommand{\libmaa}{\textsc{libmaa}\xspace}
\newcommand{\khepera}{\textsc{Khepera}\xspace}
\newcommand{\kheperalong}{\textsc{Khepera} Transformation System\xspace}
\newcommand{\Khepera}{Kheper\.a\xspace}
\newcommand{\Ra}{R\=a\xspace}
\newcommand{\Maa}{Maa\xspace}

% systems
\newcommand{\refine}{\system{Refine}}
\newcommand{\dtre}{\system{dtre3}}
\newcommand{\eli}{\system{Eli}}
\newcommand{\cocktail}{\system{Cocktail}}
\newcommand{\txl}{\system{txl}}
\newcommand{\ZAP}{\system{zap}}
\newcommand{\dialect}{\system{Dialect}}
\newcommand{\pccts}{\system{pccts}}
\newcommand{\sorcerer}{\system{Sorcerer}}
\newcommand{\trans}{\system{Trans}}
\newcommand{\sagepp}{\system{Sage}$++$}

% programs
\newcommand{\texinfo}{\TeX{}Info}
\newcommand{\info}{\prog{info}}
\newcommand{\yacc}{\prog{yacc}}
\newcommand{\byacc}{\prog{byacc}}
\newcommand{\bison}{\prog{bison}}
\newcommand{\make}{\prog{make}}
\newcommand{\lex}{\prog{lex}}
\newcommand{\mpl}{\prog{mpl}}
\newcommand{\pvm}{\prog{pmv}}
\newcommand{\mpi}{\prog{mpi}}
\newcommand{\pthreads}{\prog{pthreads}}

% Misc
\newcommand{\LISP}{\textsc{Lisp}\xspace}
\newcommand{\proteus}{\textsc{Proteus}\xspace}
\newcommand{\unix}{\textsc{Unix}\xspace}
\newcommand{\AST}{\textsc{ast}\xspace}
\newcommand{\cse}{\textsc{cse}\xspace}
\newcommand{\postscript}{\textsc{PostScript}\xspace}
\newcommand{\nesl}{\textsc{Nesl}\xspace}
\newcommand{\fortran}{\textsc{Fortran}\xspace}
\newcommand{\hpf}{\textsc{HPF}\xspace}
\newcommand{\maspar}{\textsc{MasPar}\xspace}

\newcommand{\keyword}[1]{\mbox{\normalshape\bf #1}}
\newcommand{\INT}{\keyword{int}\ }
\newcommand{\FLOAT}{\keyword{float}\ }
\newcommand{\DOUBLE}{\keyword{double}\ }
\newcommand{\CHAR}{\keyword{char}\ }
\newcommand{\CONST}{\keyword{const}\ }
\newcommand{\UNSIGNED}{\keyword{unsigned}\ }
\newcommand{\VOID}{\keyword{void}\ }
\newcommand{\RETURN}{\keyword{return}\ }
\newcommand{\CBEGIN}{\{\ \qtab}
\newcommand{\CEND}{\untab\}}
\usepackage{fancybox}

\newenvironment{Module}%
{\rule{0pt}{5.25ex}%
  \begin{Sbox}\rule[-2ex]{0pt}{5ex}\begin{minipage}{6.75em}\begin{center}}%
{\end{center}\end{minipage}\end{Sbox}\fbox{\TheSbox}}

\newenvironment{Comment}{\begin{minipage}{4.4em}\begin{center}}%
{\end{center}\end{minipage}}

\begin{document}
\bibliographystyle{refalpha} \title{Libmaa User's Manual}

\author{Rickard E. Faith\thanks{Cray Fellow; supported by ARPA via ONR
    contract N00014-92-C-0182, by Rome Labs contract F30602-94-C-0037, and
    by a Cray Fellowship from Cray Research, Inc. and NCSC (North Carolina
    Supercomputing Center)..}
  \\ Department of Computer Science
  \\ University of North Carolina at Chapel Hill}
\date{TR96-009 \\ DRAFT: \FileRevised \\ $Revision: 1.3 $}

\maketitle\tableofcontents

\clearpage

\begin{abstract}
  The \libmaa library provides many low-level data structures which are
  helpful for writing compilers, including hash tables, sets, lists,
  debugging support, and memory management.  Although \libmaa was designed
  and implemented as a foundation for the \kheperalong, the data structures
  are generally applicable to a wide range of programming problems.

  The memory management routines are especially helpful for improving the
  performance of memory-intensive applications.
\end{abstract}

\clearpage
\section{Functions}
\input general.tex

\clearpage
\appendix

\section{\Maa}

When \Khepera rose up out of the watery abyss of Nu, he created \Maa as a
foundation upon which to create everything else
\cite[pp.~295--8]{faith:Budge04b}.

\bibliography{libmaa}

\end{document}