diff options
author | steve <steve@FreeBSD.org> | 1999-12-29 17:09:40 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-29 17:09:40 +0800 |
commit | c5d837ac9902984f8e77832da6776078c0533f44 (patch) | |
tree | 590cc2117989a28f2515ae45e89179f5063d1121 /devel/gperf/pkg-descr | |
parent | ae8934a13d0901d1b921acb3e7f73fcb7d9d06d7 (diff) | |
download | freebsd-ports-gnome-c5d837ac9902984f8e77832da6776078c0533f44.tar.gz freebsd-ports-gnome-c5d837ac9902984f8e77832da6776078c0533f44.tar.zst freebsd-ports-gnome-c5d837ac9902984f8e77832da6776078c0533f44.zip |
Adding gperf version 2.7
Generates perfect hash functions for sets of keywords.
PR: 12904
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Diffstat (limited to 'devel/gperf/pkg-descr')
-rw-r--r-- | devel/gperf/pkg-descr | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/gperf/pkg-descr b/devel/gperf/pkg-descr new file mode 100644 index 000000000000..bd9d14ea680c --- /dev/null +++ b/devel/gperf/pkg-descr @@ -0,0 +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 + 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 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 |