home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4854 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  901 b 

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!caen!uvaarpa!vger.nsu.edu!g_harrison
  2. From: g_harrison@vger.nsu.edu (George C. Harrison, Norfolk State University)
  3. Newsgroups: comp.lang.pascal
  4. Subject: PERFECT HASH and eggs
  5. Message-ID: <2445.2a8af966@vger.nsu.edu>
  6. Date: 14 Aug 92 00:08:06 EDT
  7. Lines: 18
  8.  
  9. This may NOT be an FAQ, but I'm sure it is something a lot of people on here
  10. know about:
  11.  
  12.     Does anyone know or know of a pointer to a PERFECT HASH function
  13.     for the 36 reserved words in ANSI standard Pascal? 
  14.  
  15. I know that I've seen the source to the answer somewhere in my distant past,
  16. but I can't recall where.  Ideally, I need a simple one-to-one function to 
  17. map a reserved word in a string to the integers 0..35 or a variation thereof.
  18.  
  19. Thanks ahead of time.
  20.  
  21. George
  22.  
  23. ******************
  24. George C. Harrison, Professor of Computer Science, Norfolk State University
  25. g_harrison@vger.nsu.edu
  26.  
  27.