path: root/contrib/gperf/README
diff options
authorKris Kennaway <kris@FreeBSD.org>2000-03-25 07:45:29 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-03-25 07:45:29 +0000
commitdd56fde1eb9fe2a9809ec26173d0ad2e561f9789 (patch)
treefa102ad70fa8d5585900bf7e1872826b467f5d2e /contrib/gperf/README
parentdcd8284393e54351bfca4b4895abb9a71c634254 (diff)
Virgin import of gperf v2.7
Notes: svn path=/vendor/gperf/dist/; revision=58551
Diffstat (limited to 'contrib/gperf/README')
1 files changed, 9 insertions, 13 deletions
diff --git a/contrib/gperf/README b/contrib/gperf/README
index 26ace32d65d2..bd9d14ea680c 100644
--- a/contrib/gperf/README
+++ b/contrib/gperf/README
@@ -1,28 +1,24 @@
While teaching a data structures course at University of California,
Irvine, I developed a program called GPERF that generates perfect hash
functions for sets of key words. A perfect hash function is simply:
- A hash function and a data structure that allows
- recognition of a key word in a set of words using
+ A hash function and a data structure that allows
+ recognition of a key word in a set of words using
exactly 1 probe into the data structure.
The gperf.texinfo file explains how the program works, the form of the
input, what options are available, and hints on choosing the best
options for particular key word sets. The texinfo file is readable
both via the GNU emacs `info' command, and is also suitable for
-typesetting with TeX. The texinfo.tex macros needed to run
-gperf.texinfo through TeX are available in the GNU GCC release. If
-you don't have access to these please email me and I'll send them to
-you (about 75k).
+typesetting with TeX.
The enclosed Makefile creates the executable program ``gperf'' and
also runs some tests.
Output from the GPERF program is used to recognize reserved words in
the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU
indent program.
Happy hacking!
Douglas C. Schmidt