farsi.h
Go to the documentation of this file.
1 
11 #ifndef NVIM_FARSI_H
12 #define NVIM_FARSI_H
13 
14 #include "nvim/normal.h"
15 #include "nvim/types.h"
16 
17 // Farsi character set definition
18 
19 // Begin of the non-standard part
20 
21 #define TEE_ 0x80
22 #define ALEF_U_H_ 0x81
23 #define ALEF_ 0x82
24 #define _BE 0x83
25 #define _PE 0x84
26 #define _TE 0x85
27 #define _SE 0x86
28 #define _JIM 0x87
29 #define _CHE 0x88
30 #define _HE_J 0x89
31 #define _XE 0x8a
32 #define _SIN 0x8b
33 #define _SHIN 0x8c
34 #define _SAD 0x8d
35 #define _ZAD 0x8e
36 #define _AYN 0x8f
37 #define _AYN_ 0x90
38 #define AYN_ 0x91
39 #define _GHAYN 0x92
40 #define _GHAYN_ 0x93
41 #define GHAYN_ 0x94
42 #define _FE 0x95
43 #define _GHAF 0x96
44 #define _KAF 0x97
45 #define _GAF 0x98
46 #define _LAM 0x99
47 #define LA 0x9a
48 #define _MIM 0x9b
49 #define _NOON 0x9c
50 #define _HE 0x9d
51 #define _HE_ 0x9e
52 #define _YE 0x9f
53 #define _IE 0xec
54 #define IE_ 0xed
55 #define IE 0xfb
56 #define _YEE 0xee
57 #define YEE_ 0xef
58 #define YE_ 0xff
59 
60 // End of the non-standard part
61 
62 // Standard part
63 
64 #define F_BLANK 0xa0 // Farsi ' ' (SP) character
65 #define F_PSP 0xa1 // PSP for capitalizing of a character
66 #define F_PCN 0xa2 // PCN for redefining of the hamye meaning
67 #define F_EXCL 0xa3 // Farsi ! character
68 #define F_CURRENCY 0xa4 // Farsi Rial character
69 #define F_PERCENT 0xa5 // Farsi % character
70 #define F_PERIOD 0xa6 // Farsi '.' character
71 #define F_COMMA 0xa7 // Farsi ',' character
72 #define F_LPARENT 0xa8 // Farsi '(' character
73 #define F_RPARENT 0xa9 // Farsi ')' character
74 #define F_MUL 0xaa // Farsi 'x' character
75 #define F_PLUS 0xab // Farsi '+' character
76 #define F_BCOMMA 0xac // Farsi comma character
77 #define F_MINUS 0xad // Farsi '-' character
78 #define F_DIVIDE 0xae // Farsi divide (/) character
79 #define F_SLASH 0xaf // Farsi '/' character
80 
81 #define FARSI_0 0xb0
82 #define FARSI_1 0xb1
83 #define FARSI_2 0xb2
84 #define FARSI_3 0xb3
85 #define FARSI_4 0xb4
86 #define FARSI_5 0xb5
87 #define FARSI_6 0xb6
88 #define FARSI_7 0xb7
89 #define FARSI_8 0xb8
90 #define FARSI_9 0xb9
91 
92 #define F_DCOLON 0xba // Farsi ':' character
93 #define F_SEMICOLON 0xbb // Farsi ';' character
94 #define F_GREATER 0xbc // Farsi '>' character
95 #define F_EQUALS 0xbd // Farsi '=' character
96 #define F_LESS 0xbe // Farsi '<' character
97 #define F_QUESTION 0xbf // Farsi ? character
98 
99 #define ALEF_A 0xc0
100 #define ALEF 0xc1
101 #define HAMZE 0xc2
102 #define BE 0xc3
103 #define PE 0xc4
104 #define TE 0xc5
105 #define SE 0xc6
106 #define JIM 0xc7
107 #define CHE 0xc8
108 #define HE_J 0xc9
109 #define XE 0xca
110 #define DAL 0xcb
111 #define ZAL 0xcc
112 #define RE 0xcd
113 #define ZE 0xce
114 #define JE 0xcf
115 #define SIN 0xd0
116 #define SHIN 0xd1
117 #define SAD 0xd2
118 #define ZAD 0xd3
119 #define _TA 0xd4
120 #define _ZA 0xd5
121 #define AYN 0xd6
122 #define GHAYN 0xd7
123 #define FE 0xd8
124 #define GHAF 0xd9
125 #define KAF 0xda
126 #define GAF 0xdb
127 #define LAM 0xdc
128 #define MIM 0xdd
129 #define NOON 0xde
130 #define WAW 0xdf
131 #define F_HE 0xe0 // F_ added for name clash with Perl
132 #define YE 0xe1
133 #define TEE 0xfc
134 #define _KAF_H 0xfd
135 #define YEE 0xfe
136 
137 #define F_LBRACK 0xe2 // Farsi '[' character
138 #define F_RBRACK 0xe3 // Farsi ']' character
139 #define F_LBRACE 0xe4 // Farsi '{' character
140 #define F_RBRACE 0xe5 // Farsi '}' character
141 #define F_LQUOT 0xe6 // Farsi left quotation character
142 #define F_RQUOT 0xe7 // Farsi right quotation character
143 #define F_STAR 0xe8 // Farsi '*' character
144 #define F_UNDERLINE 0xe9 // Farsi '_' character
145 #define F_PIPE 0xea // Farsi '|' character
146 #define F_BSLASH 0xeb // Farsi '\' character
147 
148 #define MAD 0xf0
149 #define JAZR 0xf1
150 #define OW 0xf2
151 #define MAD_N 0xf3
152 #define JAZR_N 0xf4
153 #define OW_OW 0xf5
154 #define TASH 0xf6
155 #define OO 0xf7
156 #define ALEF_U_H 0xf8
157 #define WAW_H 0xf9
158 #define ALEF_D_H 0xfa
159 
160 // definitions for the window dependent functions (w_farsi).
161 #define W_CONV 0x1
162 #define W_R_L 0x2
163 
164 // special Farsi text messages
165 extern const char_u farsi_text_1[];
166 extern const char_u farsi_text_2[];
167 extern const char_u farsi_text_3[];
168 extern const char_u farsi_text_5[];
169 
170 
171 #ifdef INCLUDE_GENERATED_DECLARATIONS
172 # include "farsi.h.generated.h"
173 #endif
174 #endif // NVIM_FARSI_H
const char_u farsi_text_3[]
Definition: farsi.c:45
const char_u farsi_text_5[]
Definition: farsi.c:54
const char_u farsi_text_1[]
Definition: farsi.c:34
unsigned char char_u
Definition: types.h:11
const char_u farsi_text_2[]
Definition: farsi.c:39