1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15:
16: 17: 18: 19: 20:
21:
22: #ifndef __TCODE_H__
23: #define __TCODE_H__
24:
25: 26: 27:
28: #define TC_NULL 0x0000U
29: #define TC_TAB 0x0009U
30: #define TC_NL 0x000aU
31: #define TC_NC 0x000bU
32: #define TC_FF 0x000cU
33: #define TC_CR 0x000dU
34: #define TC_SP 0x0020U
35: #define TC_BLANK 0x00a0U
36: #define TC_LANG 0xfe00U
37: #define TC_SPEC 0xff00U
38: #define TC_ESC 0xff80U
39:
40: 41: 42:
43: #define TK_KSP 0x2121U
44: #define TK_EXCL 0x212aU
45: #define TK_RQOT 0x212eU
46: #define TK_DQOT 0x2149U
47: #define TK_SHRP 0x2174U
48: #define TK_DLLR 0x2170U
49: #define TK_PCNT 0x2173U
50: #define TK_AND 0x2175U
51: #define TK_SQOT 0x2147U
52: #define TK_LPAR 0x214aU
53: #define TK_RPAR 0x214bU
54: #define TK_ASTR 0x2176U
55: #define TK_PLUS 0x215cU
56: #define TK_CMMA 0x2124U
57: #define TK_MINS 0x215dU
58: #define TK_PROD 0x2125U
59: #define TK_SLSH 0x213fU
60: #define TK_COLN 0x2127U
61: #define TK_SCLN 0x2128U
62: #define TK_LSTN 0x2163U
63: #define TK_EQAL 0x2161U
64: #define TK_GTTN 0x2164U
65: #define TK_QSTN 0x2129U
66: #define TK_ATMK 0x2177U
67: #define TK_LABR 0x214eU
68: #define TK_BSLH 0x216fU
69: #define TK_RABR 0x214fU
70: #define TK_EXOR 0x2130U
71: #define TK_USCR 0x2132U
72: #define TK_LCBR 0x2150U
73: #define TK_OR 0x2143U
74: #define TK_RCBR 0x2151U
75: #define TK_TILD 0x2131U
76:
77: #define TK_AL_A 0x2341U
78: #define TK_AL_X 0x2358U
79: #define TK_AL_Z 0x235aU
80:
81: #define TK_AL_a 0x2361U
82: #define TK_AL_x 0x2378U
83: #define TK_AL_z 0x237aU
84:
85: #define TK_NU_0 0x2330U
86: #define TK_NU_9 0x2339U
87:
88: #define TK_KK_S 0x2521U
89: #define TK_KK_E 0x2576U
90: #define TK_HK_S 0x2421U
91: #define TK_HK_E 0x2473U
92:
93: #define TK_DKON 0x212bU
94: #define TK_HNDK 0x212cU
95:
96: #define TK_0 (TK_NU_0+0)
97: #define TK_1 (TK_NU_0+1)
98: #define TK_2 (TK_NU_0+2)
99: #define TK_3 (TK_NU_0+3)
100: #define TK_4 (TK_NU_0+4)
101: #define TK_5 (TK_NU_0+5)
102: #define TK_6 (TK_NU_0+6)
103: #define TK_7 (TK_NU_0+7)
104: #define TK_8 (TK_NU_0+8)
105: #define TK_9 (TK_NU_0+9)
106:
107: #define TK_A (TK_AL_A+0)
108: #define TK_B (TK_AL_A+1)
109: #define TK_C (TK_AL_A+2)
110: #define TK_D (TK_AL_A+3)
111: #define TK_E (TK_AL_A+4)
112: #define TK_F (TK_AL_A+5)
113: #define TK_G (TK_AL_A+6)
114: #define TK_H (TK_AL_A+7)
115: #define TK_I (TK_AL_A+8)
116: #define TK_J (TK_AL_A+9)
117: #define TK_K (TK_AL_A+10)
118: #define TK_L (TK_AL_A+11)
119: #define TK_M (TK_AL_A+12)
120: #define TK_N (TK_AL_A+13)
121: #define TK_O (TK_AL_A+14)
122: #define TK_P (TK_AL_A+15)
123: #define TK_Q (TK_AL_A+16)
124: #define TK_R (TK_AL_A+17)
125: #define TK_S (TK_AL_A+18)
126: #define TK_T (TK_AL_A+19)
127: #define TK_U (TK_AL_A+20)
128: #define TK_V (TK_AL_A+21)
129: #define TK_W (TK_AL_A+22)
130: #define TK_X (TK_AL_A+23)
131: #define TK_Y (TK_AL_A+24)
132: #define TK_Z (TK_AL_A+25)
133:
134: #define TK_a (TK_AL_a+0)
135: #define TK_b (TK_AL_a+1)
136: #define TK_c (TK_AL_a+2)
137: #define TK_d (TK_AL_a+3)
138: #define TK_e (TK_AL_a+4)
139: #define TK_f (TK_AL_a+5)
140: #define TK_g (TK_AL_a+6)
141: #define TK_h (TK_AL_a+7)
142: #define TK_i (TK_AL_a+8)
143: #define TK_j (TK_AL_a+9)
144: #define TK_k (TK_AL_a+10)
145: #define TK_l (TK_AL_a+11)
146: #define TK_m (TK_AL_a+12)
147: #define TK_n (TK_AL_a+13)
148: #define TK_o (TK_AL_a+14)
149: #define TK_p (TK_AL_a+15)
150: #define TK_q (TK_AL_a+16)
151: #define TK_r (TK_AL_a+17)
152: #define TK_s (TK_AL_a+18)
153: #define TK_t (TK_AL_a+19)
154: #define TK_u (TK_AL_a+20)
155: #define TK_v (TK_AL_a+21)
156: #define TK_w (TK_AL_a+22)
157: #define TK_x (TK_AL_a+23)
158: #define TK_y (TK_AL_a+24)
159: #define TK_z (TK_AL_a+25)
160:
161: #endif