home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / reserve.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.3 KB  |  71 lines

  1.  
  2. -------- SIMTEL20 Ada Software Repository Prologue ------------
  3. --                                                           -*
  4. -- Unit name    : Ada Reserved Word Hash
  5. -- Version      : 1.0
  6. -- Authors      : Mars J. Gralia
  7. --              : Jerry L. Kashtan
  8. --              : The Johns Hopkins Universtity
  9. --              : Laurel, Maryland  20707
  10. -- DDN Address  : GRALIA @ APLVAX
  11. -- Copyright    : (c) 1986 Mars J. Gralia and Jerry L. Kashtan
  12. -- Date created :  November 16, 1985
  13. -- Release date :  January 29, 1986
  14. -- Last update  :  January 29, 1986
  15. -- Machine/System Compiled/Run on : DEC 8600 Cluster, DEC Ada v1.0-7
  16. --                                                           -*
  17. ---------------------------------------------------------------
  18. --                                                           -*
  19. -- Keywords     :  ADA RESERVED WORDS
  20. ----------------:  PARSER,TOKEN,TOKENIZER,SYNTAX,HASH
  21. --
  22. -- Abstract     :  This package contains the single function
  23. ----------------:  "is_Ada_reserved_word".  It returns with 
  24. ----------------:  either a "true" or "false" to the statement
  25. ----------------:  "the input character string is a reserved
  26. ----------------:  word in the Ada language."   
  27. ----------------:  The contribution of the function is that it
  28. ----------------:  executes very quickly.  It is an implemen-
  29. ----------------:  tation of the algorithm defined by David
  30. ----------------:  Wolverton in "A Perfect Hash Function for
  31. ----------------:  Ada Reserved Words", as published in
  32. ----------------:  Ada Letters, July-August 1984.
  33. --                                                           -*
  34. ------------------ Revision history ---------------------------
  35. --                                                           -*
  36. -- DATE         VERSION    AUTHOR                  HISTORY
  37. -- 1/29/86      1.0    Gralia & Kashtan    Initial Release
  38. --                                                           -*
  39. ------------------ Distribution and Copyright -----------------
  40. --                                                           -*
  41. -- This prologue must be included in all copies of this software.
  42. --
  43. -- This software is copyright by the authors.
  44. --
  45. -- This software is released to the Ada community.
  46. --
  47. -- Restrictions on use or distribution:  NONE
  48. --                                                           -*
  49. ------------------ Disclaimer ---------------------------------
  50. --                                                           -*
  51. -- This software and its documentation are provided "AS IS" and
  52. -- without any expressed or implied warranties whatsoever.
  53. -- No warranties as to performance, merchantability, or fitness
  54. -- for a particular purpose exist.
  55. --
  56. -- Because of the diversity of conditions and hardware under
  57. -- which this software may be used, no warranty of fitness for
  58. -- a particular purpose is offered.  The user is advised to
  59. -- test the software thoroughly before relying on it.  The user
  60. -- must assume the entire risk and liability of using this
  61. -- software.
  62. --
  63. -- In no event shall any person or organization of people be
  64. -- held responsible for any direct, indirect, consequential
  65. -- or inconsequential damages or lost profits.
  66. --                                                           -*
  67. -------------------END-PROLOGUE--------------------------------
  68.  
  69. ------
  70.  
  71.