1 ------------------------------------------------------------------------------
3 -- GNAT RUNTIME COMPONENTS --
5 -- A D A . C H A R A C T E R S . W I D E _ L A T I N _ 1 --
10 -- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
23 -- As a special exception, if other files instantiate generics from this --
24 -- unit, or you link this unit with other files to produce an executable, --
25 -- this unit does not by itself cause the resulting executable to be --
26 -- covered by the GNU General Public License. This exception does not --
27 -- however invalidate any other reasons why the executable file might be --
28 -- covered by the GNU Public License. --
30 -- GNAT was originally developed by the GNAT team at New York University. --
31 -- Extensive contributions were provided by Ada Core Technologies Inc. --
33 ------------------------------------------------------------------------------
35 -- This package provides definitions analogous to those in the RM defined
36 -- package Ada.Characters.Latin_1 except that the type of the constants
37 -- is Wide_Character instead of Character. The provision of this package
38 -- is in accordance with the implementation permission in RM (A.3.3(27)).
40 package Ada
.Characters
.Wide_Latin_1
is
41 pragma Pure
(Wide_Latin_1
);
43 ------------------------
44 -- Control Characters --
45 ------------------------
47 NUL
: constant Wide_Character := Wide_Character'Val (0);
48 SOH
: constant Wide_Character := Wide_Character'Val (1);
49 STX
: constant Wide_Character := Wide_Character'Val (2);
50 ETX
: constant Wide_Character := Wide_Character'Val (3);
51 EOT
: constant Wide_Character := Wide_Character'Val (4);
52 ENQ
: constant Wide_Character := Wide_Character'Val (5);
53 ACK
: constant Wide_Character := Wide_Character'Val (6);
54 BEL
: constant Wide_Character := Wide_Character'Val (7);
55 BS
: constant Wide_Character := Wide_Character'Val (8);
56 HT
: constant Wide_Character := Wide_Character'Val (9);
57 LF
: constant Wide_Character := Wide_Character'Val (10);
58 VT
: constant Wide_Character := Wide_Character'Val (11);
59 FF
: constant Wide_Character := Wide_Character'Val (12);
60 CR
: constant Wide_Character := Wide_Character'Val (13);
61 SO
: constant Wide_Character := Wide_Character'Val (14);
62 SI
: constant Wide_Character := Wide_Character'Val (15);
64 DLE
: constant Wide_Character := Wide_Character'Val (16);
65 DC1
: constant Wide_Character := Wide_Character'Val (17);
66 DC2
: constant Wide_Character := Wide_Character'Val (18);
67 DC3
: constant Wide_Character := Wide_Character'Val (19);
68 DC4
: constant Wide_Character := Wide_Character'Val (20);
69 NAK
: constant Wide_Character := Wide_Character'Val (21);
70 SYN
: constant Wide_Character := Wide_Character'Val (22);
71 ETB
: constant Wide_Character := Wide_Character'Val (23);
72 CAN
: constant Wide_Character := Wide_Character'Val (24);
73 EM
: constant Wide_Character := Wide_Character'Val (25);
74 SUB
: constant Wide_Character := Wide_Character'Val (26);
75 ESC
: constant Wide_Character := Wide_Character'Val (27);
76 FS
: constant Wide_Character := Wide_Character'Val (28);
77 GS
: constant Wide_Character := Wide_Character'Val (29);
78 RS
: constant Wide_Character := Wide_Character'Val (30);
79 US
: constant Wide_Character := Wide_Character'Val (31);
81 -------------------------------------
82 -- ISO 646 Graphic Wide_Characters --
83 -------------------------------------
85 Space
: constant Wide_Character := ' '; -- WC'Val(32)
86 Exclamation
: constant Wide_Character := '!'; -- WC'Val(33)
87 Quotation
: constant Wide_Character := '"'; -- WC'Val(34)
88 Number_Sign
: constant Wide_Character := '#'; -- WC'Val(35)
89 Dollar_Sign
: constant Wide_Character := '$'; -- WC'Val(36)
90 Percent_Sign
: constant Wide_Character := '%'; -- WC'Val(37)
91 Ampersand
: constant Wide_Character := '&'; -- WC'Val(38)
92 Apostrophe
: constant Wide_Character := '''; -- WC'Val(39)
93 Left_Parenthesis
: constant Wide_Character := '('; -- WC'Val(40)
94 Right_Parenthesis
: constant Wide_Character := ')'; -- WC'Val(41)
95 Asterisk
: constant Wide_Character := '*'; -- WC'Val(42)
96 Plus_Sign
: constant Wide_Character := '+'; -- WC'Val(43)
97 Comma
: constant Wide_Character := ','; -- WC'Val(44)
98 Hyphen
: constant Wide_Character := '-'; -- WC'Val(45)
99 Minus_Sign
: Wide_Character renames Hyphen
;
100 Full_Stop
: constant Wide_Character := '.'; -- WC'Val(46)
101 Solidus
: constant Wide_Character := '/'; -- WC'Val(47)
103 -- Decimal digits '0' though '9' are at positions 48 through 57
105 Colon
: constant Wide_Character := ':'; -- WC'Val(58)
106 Semicolon
: constant Wide_Character := ';'; -- WC'Val(59)
107 Less_Than_Sign
: constant Wide_Character := '<'; -- WC'Val(60)
108 Equals_Sign
: constant Wide_Character := '='; -- WC'Val(61)
109 Greater_Than_Sign
: constant Wide_Character := '>'; -- WC'Val(62)
110 Question
: constant Wide_Character := '?'; -- WC'Val(63)
112 Commercial_At
: constant Wide_Character := '@'; -- WC'Val(64)
114 -- Letters 'A' through 'Z' are at positions 65 through 90
116 Left_Square_Bracket
: constant Wide_Character := '['; -- WC'Val (91)
117 Reverse_Solidus
: constant Wide_Character := '\'; -- WC'Val (92)
118 Right_Square_Bracket
: constant Wide_Character := ']'; -- WC'Val (93)
119 Circumflex
: constant Wide_Character := '^'; -- WC'Val (94)
120 Low_Line
: constant Wide_Character := '_'; -- WC'Val (95)
122 Grave
: constant Wide_Character := '`'; -- WC'Val (96)
123 LC_A
: constant Wide_Character := 'a'; -- WC'Val (97)
124 LC_B
: constant Wide_Character := 'b'; -- WC'Val (98)
125 LC_C
: constant Wide_Character := 'c'; -- WC'Val (99)
126 LC_D
: constant Wide_Character := 'd'; -- WC'Val (100)
127 LC_E
: constant Wide_Character := 'e'; -- WC'Val (101)
128 LC_F
: constant Wide_Character := 'f'; -- WC'Val (102)
129 LC_G
: constant Wide_Character := 'g'; -- WC'Val (103)
130 LC_H
: constant Wide_Character := 'h'; -- WC'Val (104)
131 LC_I
: constant Wide_Character := 'i'; -- WC'Val (105)
132 LC_J
: constant Wide_Character := 'j'; -- WC'Val (106)
133 LC_K
: constant Wide_Character := 'k'; -- WC'Val (107)
134 LC_L
: constant Wide_Character := 'l'; -- WC'Val (108)
135 LC_M
: constant Wide_Character := 'm'; -- WC'Val (109)
136 LC_N
: constant Wide_Character := 'n'; -- WC'Val (110)
137 LC_O
: constant Wide_Character := 'o'; -- WC'Val (111)
138 LC_P
: constant Wide_Character := 'p'; -- WC'Val (112)
139 LC_Q
: constant Wide_Character := 'q'; -- WC'Val (113)
140 LC_R
: constant Wide_Character := 'r'; -- WC'Val (114)
141 LC_S
: constant Wide_Character := 's'; -- WC'Val (115)
142 LC_T
: constant Wide_Character := 't'; -- WC'Val (116)
143 LC_U
: constant Wide_Character := 'u'; -- WC'Val (117)
144 LC_V
: constant Wide_Character := 'v'; -- WC'Val (118)
145 LC_W
: constant Wide_Character := 'w'; -- WC'Val (119)
146 LC_X
: constant Wide_Character := 'x'; -- WC'Val (120)
147 LC_Y
: constant Wide_Character := 'y'; -- WC'Val (121)
148 LC_Z
: constant Wide_Character := 'z'; -- WC'Val (122)
149 Left_Curly_Bracket
: constant Wide_Character := '{'; -- WC'Val (123)
150 Vertical_Line
: constant Wide_Character := '|'; -- WC'Val (124)
151 Right_Curly_Bracket
: constant Wide_Character := '}'; -- WC'Val (125)
152 Tilde
: constant Wide_Character := '~'; -- WC'Val (126)
153 DEL
: constant Wide_Character := Wide_Character'Val (127);
155 --------------------------------------
156 -- ISO 6429 Control Wide_Characters --
157 --------------------------------------
159 IS4
: Wide_Character renames FS
;
160 IS3
: Wide_Character renames GS
;
161 IS2
: Wide_Character renames RS
;
162 IS1
: Wide_Character renames US
;
164 Reserved_128
: constant Wide_Character := Wide_Character'Val (128);
165 Reserved_129
: constant Wide_Character := Wide_Character'Val (129);
166 BPH
: constant Wide_Character := Wide_Character'Val (130);
167 NBH
: constant Wide_Character := Wide_Character'Val (131);
168 Reserved_132
: constant Wide_Character := Wide_Character'Val (132);
169 NEL
: constant Wide_Character := Wide_Character'Val (133);
170 SSA
: constant Wide_Character := Wide_Character'Val (134);
171 ESA
: constant Wide_Character := Wide_Character'Val (135);
172 HTS
: constant Wide_Character := Wide_Character'Val (136);
173 HTJ
: constant Wide_Character := Wide_Character'Val (137);
174 VTS
: constant Wide_Character := Wide_Character'Val (138);
175 PLD
: constant Wide_Character := Wide_Character'Val (139);
176 PLU
: constant Wide_Character := Wide_Character'Val (140);
177 RI
: constant Wide_Character := Wide_Character'Val (141);
178 SS2
: constant Wide_Character := Wide_Character'Val (142);
179 SS3
: constant Wide_Character := Wide_Character'Val (143);
181 DCS
: constant Wide_Character := Wide_Character'Val (144);
182 PU1
: constant Wide_Character := Wide_Character'Val (145);
183 PU2
: constant Wide_Character := Wide_Character'Val (146);
184 STS
: constant Wide_Character := Wide_Character'Val (147);
185 CCH
: constant Wide_Character := Wide_Character'Val (148);
186 MW
: constant Wide_Character := Wide_Character'Val (149);
187 SPA
: constant Wide_Character := Wide_Character'Val (150);
188 EPA
: constant Wide_Character := Wide_Character'Val (151);
190 SOS
: constant Wide_Character := Wide_Character'Val (152);
191 Reserved_153
: constant Wide_Character := Wide_Character'Val (153);
192 SCI
: constant Wide_Character := Wide_Character'Val (154);
193 CSI
: constant Wide_Character := Wide_Character'Val (155);
194 ST
: constant Wide_Character := Wide_Character'Val (156);
195 OSC
: constant Wide_Character := Wide_Character'Val (157);
196 PM
: constant Wide_Character := Wide_Character'Val (158);
197 APC
: constant Wide_Character := Wide_Character'Val (159);
199 -----------------------------------
200 -- Other Graphic Wide_Characters --
201 -----------------------------------
203 -- Wide_Character positions 160 (16#A0#) .. 175 (16#AF#)
205 No_Break_Space
: constant Wide_Character := Wide_Character'Val (160);
206 NBSP
: Wide_Character renames No_Break_Space
;
207 Inverted_Exclamation
: constant Wide_Character := Wide_Character'Val (161);
208 Cent_Sign
: constant Wide_Character := Wide_Character'Val (162);
209 Pound_Sign
: constant Wide_Character := Wide_Character'Val (163);
210 Currency_Sign
: constant Wide_Character := Wide_Character'Val (164);
211 Yen_Sign
: constant Wide_Character := Wide_Character'Val (165);
212 Broken_Bar
: constant Wide_Character := Wide_Character'Val (166);
213 Section_Sign
: constant Wide_Character := Wide_Character'Val (167);
214 Diaeresis
: constant Wide_Character := Wide_Character'Val (168);
215 Copyright_Sign
: constant Wide_Character := Wide_Character'Val (169);
216 Feminine_Ordinal_Indicator
217 : constant Wide_Character := Wide_Character'Val (170);
218 Left_Angle_Quotation
: constant Wide_Character := Wide_Character'Val (171);
219 Not_Sign
: constant Wide_Character := Wide_Character'Val (172);
220 Soft_Hyphen
: constant Wide_Character := Wide_Character'Val (173);
221 Registered_Trade_Mark_Sign
222 : constant Wide_Character := Wide_Character'Val (174);
223 Macron
: constant Wide_Character := Wide_Character'Val (175);
225 -- Wide_Character positions 176 (16#B0#) .. 191 (16#BF#)
227 Degree_Sign
: constant Wide_Character := Wide_Character'Val (176);
228 Ring_Above
: Wide_Character renames Degree_Sign
;
229 Plus_Minus_Sign
: constant Wide_Character := Wide_Character'Val (177);
230 Superscript_Two
: constant Wide_Character := Wide_Character'Val (178);
231 Superscript_Three
: constant Wide_Character := Wide_Character'Val (179);
232 Acute
: constant Wide_Character := Wide_Character'Val (180);
233 Micro_Sign
: constant Wide_Character := Wide_Character'Val (181);
234 Pilcrow_Sign
: constant Wide_Character := Wide_Character'Val (182);
235 Paragraph_Sign
: Wide_Character renames Pilcrow_Sign
;
236 Middle_Dot
: constant Wide_Character := Wide_Character'Val (183);
237 Cedilla
: constant Wide_Character := Wide_Character'Val (184);
238 Superscript_One
: constant Wide_Character := Wide_Character'Val (185);
239 Masculine_Ordinal_Indicator
240 : constant Wide_Character := Wide_Character'Val (186);
241 Right_Angle_Quotation
242 : constant Wide_Character := Wide_Character'Val (187);
243 Fraction_One_Quarter
: constant Wide_Character := Wide_Character'Val (188);
244 Fraction_One_Half
: constant Wide_Character := Wide_Character'Val (189);
245 Fraction_Three_Quarters
246 : constant Wide_Character := Wide_Character'Val (190);
247 Inverted_Question
: constant Wide_Character := Wide_Character'Val (191);
249 -- Wide_Character positions 192 (16#C0#) .. 207 (16#CF#)
251 UC_A_Grave
: constant Wide_Character := Wide_Character'Val (192);
252 UC_A_Acute
: constant Wide_Character := Wide_Character'Val (193);
253 UC_A_Circumflex
: constant Wide_Character := Wide_Character'Val (194);
254 UC_A_Tilde
: constant Wide_Character := Wide_Character'Val (195);
255 UC_A_Diaeresis
: constant Wide_Character := Wide_Character'Val (196);
256 UC_A_Ring
: constant Wide_Character := Wide_Character'Val (197);
257 UC_AE_Diphthong
: constant Wide_Character := Wide_Character'Val (198);
258 UC_C_Cedilla
: constant Wide_Character := Wide_Character'Val (199);
259 UC_E_Grave
: constant Wide_Character := Wide_Character'Val (200);
260 UC_E_Acute
: constant Wide_Character := Wide_Character'Val (201);
261 UC_E_Circumflex
: constant Wide_Character := Wide_Character'Val (202);
262 UC_E_Diaeresis
: constant Wide_Character := Wide_Character'Val (203);
263 UC_I_Grave
: constant Wide_Character := Wide_Character'Val (204);
264 UC_I_Acute
: constant Wide_Character := Wide_Character'Val (205);
265 UC_I_Circumflex
: constant Wide_Character := Wide_Character'Val (206);
266 UC_I_Diaeresis
: constant Wide_Character := Wide_Character'Val (207);
268 -- Wide_Character positions 208 (16#D0#) .. 223 (16#DF#)
270 UC_Icelandic_Eth
: constant Wide_Character := Wide_Character'Val (208);
271 UC_N_Tilde
: constant Wide_Character := Wide_Character'Val (209);
272 UC_O_Grave
: constant Wide_Character := Wide_Character'Val (210);
273 UC_O_Acute
: constant Wide_Character := Wide_Character'Val (211);
274 UC_O_Circumflex
: constant Wide_Character := Wide_Character'Val (212);
275 UC_O_Tilde
: constant Wide_Character := Wide_Character'Val (213);
276 UC_O_Diaeresis
: constant Wide_Character := Wide_Character'Val (214);
277 Multiplication_Sign
: constant Wide_Character := Wide_Character'Val (215);
278 UC_O_Oblique_Stroke
: constant Wide_Character := Wide_Character'Val (216);
279 UC_U_Grave
: constant Wide_Character := Wide_Character'Val (217);
280 UC_U_Acute
: constant Wide_Character := Wide_Character'Val (218);
281 UC_U_Circumflex
: constant Wide_Character := Wide_Character'Val (219);
282 UC_U_Diaeresis
: constant Wide_Character := Wide_Character'Val (220);
283 UC_Y_Acute
: constant Wide_Character := Wide_Character'Val (221);
284 UC_Icelandic_Thorn
: constant Wide_Character := Wide_Character'Val (222);
285 LC_German_Sharp_S
: constant Wide_Character := Wide_Character'Val (223);
287 -- Wide_Character positions 224 (16#E0#) .. 239 (16#EF#)
289 LC_A_Grave
: constant Wide_Character := Wide_Character'Val (224);
290 LC_A_Acute
: constant Wide_Character := Wide_Character'Val (225);
291 LC_A_Circumflex
: constant Wide_Character := Wide_Character'Val (226);
292 LC_A_Tilde
: constant Wide_Character := Wide_Character'Val (227);
293 LC_A_Diaeresis
: constant Wide_Character := Wide_Character'Val (228);
294 LC_A_Ring
: constant Wide_Character := Wide_Character'Val (229);
295 LC_AE_Diphthong
: constant Wide_Character := Wide_Character'Val (230);
296 LC_C_Cedilla
: constant Wide_Character := Wide_Character'Val (231);
297 LC_E_Grave
: constant Wide_Character := Wide_Character'Val (232);
298 LC_E_Acute
: constant Wide_Character := Wide_Character'Val (233);
299 LC_E_Circumflex
: constant Wide_Character := Wide_Character'Val (234);
300 LC_E_Diaeresis
: constant Wide_Character := Wide_Character'Val (235);
301 LC_I_Grave
: constant Wide_Character := Wide_Character'Val (236);
302 LC_I_Acute
: constant Wide_Character := Wide_Character'Val (237);
303 LC_I_Circumflex
: constant Wide_Character := Wide_Character'Val (238);
304 LC_I_Diaeresis
: constant Wide_Character := Wide_Character'Val (239);
306 -- Wide_Character positions 240 (16#F0#) .. 255 (16#FF)
308 LC_Icelandic_Eth
: constant Wide_Character := Wide_Character'Val (240);
309 LC_N_Tilde
: constant Wide_Character := Wide_Character'Val (241);
310 LC_O_Grave
: constant Wide_Character := Wide_Character'Val (242);
311 LC_O_Acute
: constant Wide_Character := Wide_Character'Val (243);
312 LC_O_Circumflex
: constant Wide_Character := Wide_Character'Val (244);
313 LC_O_Tilde
: constant Wide_Character := Wide_Character'Val (245);
314 LC_O_Diaeresis
: constant Wide_Character := Wide_Character'Val (246);
315 Division_Sign
: constant Wide_Character := Wide_Character'Val (247);
316 LC_O_Oblique_Stroke
: constant Wide_Character := Wide_Character'Val (248);
317 LC_U_Grave
: constant Wide_Character := Wide_Character'Val (249);
318 LC_U_Acute
: constant Wide_Character := Wide_Character'Val (250);
319 LC_U_Circumflex
: constant Wide_Character := Wide_Character'Val (251);
320 LC_U_Diaeresis
: constant Wide_Character := Wide_Character'Val (252);
321 LC_Y_Acute
: constant Wide_Character := Wide_Character'Val (253);
322 LC_Icelandic_Thorn
: constant Wide_Character := Wide_Character'Val (254);
323 LC_Y_Diaeresis
: constant Wide_Character := Wide_Character'Val (255);
325 end Ada
.Characters
.Wide_Latin_1
;