char_defs.h

00001 /* File:      prolog_includes/char_defs.h
00002 ** Author(s): kifer
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1999
00006 ** 
00007 ** XSB is free software; you can redistribute it and/or modify it under the
00008 ** terms of the GNU Library General Public License as published by the Free
00009 ** Software Foundation; either version 2 of the License, or (at your option)
00010 ** any later version.
00011 ** 
00012 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00013 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00014 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00015 ** more details.
00016 ** 
00017 ** You should have received a copy of the GNU Library General Public License
00018 ** along with XSB; if not, write to the Free Software Foundation,
00019 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020 **
00021 ** $Id: char_defs.h,v 1.3 1999/11/16 19:06:09 kifer Exp $
00022 ** 
00023 */
00024 
00025 #define CH_NULL              0
00026 
00027 #define CH_ALARM             7        /*  \a     */
00028 #define CH_BACKSPACE         8        /*  \b     */
00029 #define CH_TAB               9        /*  \t     */
00030 #define CH_NEWLINE           10       /*  \n     */
00031 #define CH_VERTAB            11       /*  \v     */
00032 #define CH_FORMFEED          12       /*  \f     */
00033 #define CH_RETURN            13       /*  \r     */
00034 
00035 /* These 4 names are from ASCII(7) */
00036 #define CH_DC1               17       /*         */
00037 #define CH_DC2               18       /*         */
00038 #define CH_DC3               19       /*         */
00039 #define CH_DC4               20       /*         */
00040 
00041 #define CH_ESC               27       /*  ^[     */
00042 
00043 #define CH_SPACE             32       /*  ' '   */
00044 #define CH_EXCLAMATION       33       /*  !     */
00045 #define CH_DOUBLEQUOTE       34       /*  "     */
00046 #define CH_HASH              35       /*  #     */
00047 #define CH_DOLLAR            36       /*  $     */
00048 #define CH_PERCENT           37       /*  %     */
00049 #define CH_AMPERSAND         38       /*  &     */
00050 #define CH_QUOTE             39       /*  '     */
00051 #define CH_LPAREN            40       /*  (     */
00052 #define CH_RPAREN            41       /*  )     */
00053 #define CH_STAR              42       /*  *     */
00054 #define CH_PLUS              43       /*  +     */
00055 #define CH_COMMA             44       /*  ,     */
00056 #define CH_MINUS             45       /*  -     */
00057 #define CH_DOT               46       /*  .     */
00058 #define CH_SLASH             47       /*  /     */
00059 #define CH_0                 48       /*  0     */
00060 #define CH_1                 49       /*  1     */
00061 #define CH_2                 50       /*  2     */
00062 #define CH_3                 51       /*  3     */
00063 #define CH_4                 52       /*  4     */
00064 #define CH_5                 53       /*  5     */
00065 #define CH_6                 54       /*  6     */
00066 #define CH_7                 55       /*  7     */
00067 #define CH_8                 56       /*  8     */
00068 #define CH_9                 57       /*  9     */
00069 #define CH_COLON             58       /*  :     */
00070 #define CH_SEMICOL           59       /*  ;     */
00071 #define CH_LESS              60       /*  <     */
00072 #define CH_EQUAL             61       /*  =     */
00073 #define CH_GREATER           62       /*  >     */
00074 #define CH_QUESTION          63       /*  ?     */
00075 #define CH_AT                64       /*  @     */
00076 #define CH_A                 65       /*  A     */
00077 #define CH_B                 66       /*  B     */
00078 #define CH_C                 67       /*  C     */
00079 #define CH_D                 68       /*  D     */
00080 #define CH_E                 69       /*  E     */
00081 #define CH_F                 70       /*  F     */
00082 #define CH_G                 71       /*  G     */
00083 #define CH_H                 72       /*  H     */
00084 #define CH_I                 73       /*  I     */
00085 #define CH_J                 74       /*  J     */
00086 #define CH_K                 75       /*  K     */
00087 #define CH_L                 76       /*  L     */
00088 #define CH_M                 77       /*  M     */
00089 #define CH_N                 78       /*  N     */
00090 #define CH_O                 79       /*  O     */
00091 #define CH_P                 80       /*  P     */
00092 #define CH_Q                 81       /*  Q     */
00093 #define CH_R                 82       /*  R     */
00094 #define CH_S                 83       /*  S     */
00095 #define CH_T                 84       /*  T     */
00096 #define CH_U                 85       /*  U     */
00097 #define CH_V                 86       /*  V     */
00098 #define CH_W                 87       /*  W     */
00099 #define CH_X                 88       /*  X     */
00100 #define CH_Y                 89       /*  Y     */
00101 #define CH_Z                 90       /*  Z     */
00102 #define CH_LBRACKET          91       /*  [     */
00103 #define CH_BACKSLASH         92       /*  \     */
00104 #define CH_RBRACKET          93       /*  ]     */
00105 #define CH_HAT               94       /*  ^     */
00106 #define CH_UNDERSCORE        95       /*  _     */
00107 #define CH_BACKQUOTE         96       /*  `     */
00108 #define CH_a                 97       /*  a     */
00109 #define CH_b                 98       /*  b     */
00110 #define CH_c                 99       /*  c     */
00111 #define CH_d                 100      /*  d     */
00112 #define CH_e                 101      /*  e     */
00113 #define CH_f                 102      /*  f     */
00114 #define CH_g                 103      /*  g     */
00115 #define CH_h                 104      /*  h     */
00116 #define CH_i                 105      /*  i     */
00117 #define CH_j                 106      /*  j     */
00118 #define CH_k                 107      /*  k     */
00119 #define CH_l                 108      /*  l     */
00120 #define CH_m                 109      /*  m     */
00121 #define CH_n                 110      /*  n     */
00122 #define CH_o                 111      /*  o     */
00123 #define CH_p                 112      /*  p     */
00124 #define CH_q                 113      /*  q     */
00125 #define CH_r                 114      /*  r     */
00126 #define CH_s                 115      /*  s     */
00127 #define CH_t                 116      /*  t     */
00128 #define CH_u                 117      /*  u     */
00129 #define CH_v                 118      /*  v     */
00130 #define CH_w                 119      /*  w     */
00131 #define CH_x                 120      /*  x     */
00132 #define CH_y                 121      /*  y     */
00133 #define CH_z                 122      /*  z     */
00134 #define CH_LBRACE            123      /*  {     */
00135 #define CH_BAR               124      /*  |     */
00136 #define CH_RBRACE            125      /*  }     */
00137 #define CH_TILDE             126      /*  ~     */
00138 
00139 #define CH_DELETE            127      /*  ^?    */
00140 
00141 #define CH_EOF_C             255      /* The C EOF character: (char) -1  */
00142 #define CH_EOF_P             -1       /* The Prolog EOF character: -1    */

Generated on Wed Jul 26 13:30:47 2006 for XSB by  doxygen 1.4.5