1 | 1 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * kixtart.php |
4 | | | * -------- |
5 | | | * Author: Riley McArdle (riley@glyff.net) |
6 | | | * Copyright: (c) 2007 Riley McArdle (http://www.glyff.net/) |
7 | 3 | simandl | * Release Version: 1.0.8.3 |
8 | 1 | simandl | * Date Started: 2007/08/31 |
9 | | | * |
10 | | | * PHP language file for GeSHi. |
11 | | | * |
12 | | | * CHANGES |
13 | | | * ------- |
14 | | | * 2007/08/31 (1.0.7.22) |
15 | | | * - First Release |
16 | | | * |
17 | | | * TODO (updated 2007/08/31) |
18 | | | * ------------------------- |
19 | | | * * |
20 | | | * |
21 | | | ************************************************************************************* |
22 | | | * |
23 | | | * This file is part of GeSHi. |
24 | | | * |
25 | | | * GeSHi is free software; you can redistribute it and/or modify |
26 | | | * it under the terms of the GNU General Public License as published by |
27 | | | * the Free Software Foundation; either version 2 of the License, or |
28 | | | * (at your option) any later version. |
29 | | | * |
30 | | | * GeSHi is distributed in the hope that it will be useful, |
31 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
32 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
33 | | | * GNU General Public License for more details. |
34 | | | * |
35 | | | * You should have received a copy of the GNU General Public License |
36 | | | * along with GeSHi; if not, write to the Free Software |
37 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
38 | | | * |
39 | | | ************************************************************************************/ |
40 | | | |
41 | | | $language_data = array ( |
42 | | | 'LANG_NAME' => 'KiXtart', |
43 | | | 'COMMENT_SINGLE' => array(1 => ';'), |
44 | | | 'COMMENT_MULTI' => array('/*' => '*/'), |
45 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
46 | | | 'QUOTEMARKS' => array("'", '"'), |
47 | | | 'ESCAPE_CHAR' => '', |
48 | | | 'KEYWORDS' => array( |
49 | | | 1 => array( |
50 | | | 'While', 'Loop', |
51 | | | 'Use', |
52 | | | 'Small', |
53 | | | 'Sleep', |
54 | | | 'Shell', |
55 | | | 'SetTime', |
56 | | | 'SetM', |
57 | | | 'SetL', |
58 | | | 'Set', |
59 | | | 'Select', 'Case', |
60 | | | 'Run', |
61 | | | 'Return', |
62 | | | 'Redim', |
63 | | | 'RD', |
64 | | | 'Quit', |
65 | | | 'Play', |
66 | | | 'Move', |
67 | | | 'MD', |
68 | | | 'Include', |
69 | | | 'If', 'Else', 'Endif', |
70 | | | 'GoTo', |
71 | | | 'GoSub', |
72 | | | 'Go', |
73 | | | 'Global', |
74 | | | 'GetS', |
75 | | | 'Get', |
76 | | | 'Function', 'Endfunction', |
77 | | | 'For', 'Next', |
78 | | | 'Each', |
79 | | | 'FlushKb', |
80 | | | 'Exit', |
81 | | | 'Do', 'Until', |
82 | | | 'Display', |
83 | | | 'Dim', |
84 | | | 'Del', |
85 | | | 'Debug', |
86 | | | 'Copy', |
87 | | | 'Cookie1', |
88 | | | 'Color', |
89 | | | 'CLS', |
90 | | | 'CD', |
91 | | | 'Call', |
92 | | | 'Break', |
93 | | | 'Big', |
94 | | | 'Beep', |
95 | | | ), |
96 | | | 2 => array( |
97 | | | '@Address', |
98 | | | '@Build', |
99 | | | '@Color', |
100 | | | '@Comment', |
101 | | | '@CPU', |
102 | | | '@CRLF', |
103 | | | '@CSD', |
104 | | | '@CurDir', |
105 | | | '@Date', |
106 | | | '@Day', |
107 | | | '@Domain', |
108 | | | '@DOS', |
109 | | | '@Error', |
110 | | | '@FullName', |
111 | | | '@HomeDir', |
112 | | | '@HomeDrive', |
113 | | | '@HomeShr', |
114 | | | '@HostName', |
115 | | | '@InWin', |
116 | | | '@IPaddressX', |
117 | | | '@KiX', |
118 | | | '@LanRoot', |
119 | | | '@LDomain', |
120 | | | '@LDrive', |
121 | | | '@LM', |
122 | | | '@LogonMode', |
123 | | | '@LongHomeDir', |
124 | | | '@LServer', |
125 | | | '@MaxPWAge', |
126 | | | '@MDayNo', |
127 | | | '@MHz', |
128 | | | '@MonthNo', |
129 | | | '@Month', |
130 | | | '@MSecs', |
131 | | | '@OnWoW64', |
132 | | | '@PID', |
133 | | | '@PrimaryGroup', |
134 | | | '@Priv', |
135 | | | '@ProductSuite', |
136 | | | '@ProductType', |
137 | | | '@PWAge', |
138 | | | '@RAS', |
139 | | | '@Result', |
140 | | | '@RServer', |
141 | | | '@ScriptDir', |
142 | | | '@ScriptExe', |
143 | | | '@ScriptName', |
144 | | | '@SError', |
145 | | | '@SID', |
146 | | | '@Site', |
147 | | | '@StartDir', |
148 | | | '@SysLang', |
149 | | | '@Ticks', |
150 | | | '@Time', |
151 | | | '@TsSession', |
152 | | | '@UserID', |
153 | | | '@UserLang', |
154 | | | '@WDayNo', |
155 | | | '@Wksta', |
156 | | | '@WUserID', |
157 | | | '@YDayNo', |
158 | | | '@Year', |
159 | | | ), |
160 | | | 3 => array( |
161 | | | 'WriteValue', |
162 | | | 'WriteProfileString', |
163 | | | 'WriteLine', |
164 | | | 'VarTypeName', |
165 | | | 'VarType', |
166 | | | 'Val', |
167 | | | 'UnloadHive', |
168 | | | 'UCase', |
169 | | | 'Ubound', |
170 | | | 'Trim', |
171 | | | 'Substr', |
172 | | | 'SRnd', |
173 | | | 'Split', |
174 | | | 'SidToName', |
175 | | | 'ShutDown', |
176 | | | 'ShowProgramGroup', |
177 | | | 'SetWallpaper', |
178 | | | 'SetTitle', |
179 | | | 'SetSystemState', |
180 | | | 'SetOption', |
181 | | | 'SetFocus', |
182 | | | 'SetFileAttr', |
183 | | | 'SetDefaultPrinter', |
184 | | | 'SetConsole', |
185 | | | 'SetAscii', |
186 | | | 'SendMessage', |
187 | | | 'SendKeys', |
188 | | | 'SaveKey', |
189 | | | 'RTrim', |
190 | | | 'Round', |
191 | | | 'Rnd', |
192 | | | 'Right', |
193 | | | 'RedirectOutput', |
194 | | | 'ReadValue', |
195 | | | 'ReadType', |
196 | | | 'ReadProfileString', |
197 | | | 'ReadLine', |
198 | | | 'Open', |
199 | | | 'MessageBox', |
200 | | | 'MemorySize', |
201 | | | 'LTrim', |
202 | | | 'Logoff', |
203 | | | 'LogEvent', |
204 | | | 'LoadKey', |
205 | | | 'LoadHive', |
206 | | | 'Len', |
207 | | | 'Left', |
208 | | | 'LCase', |
209 | | | 'KeyExist', |
210 | | | 'KbHit', |
211 | | | 'Join', |
212 | | | 'IsDeclared', |
213 | | | 'Int', |
214 | | | 'InStrRev', |
215 | | | 'InStr', |
216 | | | 'InGroup', |
217 | | | 'IIF', |
218 | | | 'GetObject', |
219 | | | 'GetFileVersion', |
220 | | | 'GetFileTime', |
221 | | | 'GetFileSize', |
222 | | | 'GetFileAttr', |
223 | | | 'GetDiskSpace', |
224 | | | 'FreeFileHandle', |
225 | | | 'FormatNumber', |
226 | | | 'Fix', |
227 | | | 'ExpandEnvironmentVars', |
228 | | | 'Exist', |
229 | | | 'Execute', |
230 | | | 'EnumValue', |
231 | | | 'EnumLocalGroup', |
232 | | | 'EnumKey', |
233 | | | 'EnumIpInfo', |
234 | | | 'EnumGroup', |
235 | | | 'Dir', |
236 | | | 'DelValue', |
237 | | | 'DelTree', |
238 | | | 'DelProgramItem', |
239 | | | 'DelProgramGroup', |
240 | | | 'DelPrinterConnection', |
241 | | | 'DelKey', |
242 | | | 'DecToHex', |
243 | | | 'CStr', |
244 | | | 'CreateObject', |
245 | | | 'CompareFileTimes', |
246 | | | 'Close', |
247 | | | 'ClearEventLog', |
248 | | | 'CInt', |
249 | | | 'Chr', |
250 | | | 'CDbl', |
251 | | | 'Box', |
252 | | | 'BackupEventLog', |
253 | | | 'At', |
254 | | | 'AScan', |
255 | | | 'Asc', |
256 | | | 'AddProgramItem', |
257 | | | 'AddProgramGroup', |
258 | | | 'AddPrinterConnection', |
259 | | | 'AddKey', |
260 | | | 'Abs' |
261 | | | ) |
262 | | | ), |
263 | | | 'SYMBOLS' => array( |
264 | | | '(', ')', '[', ']', '?', ':', '+', '-', '*', '/', '&', '|', '^', '~', '<', '>', '=' |
265 | | | ), |
266 | | | 'CASE_SENSITIVE' => array( |
267 | | | GESHI_COMMENTS => false, |
268 | | | 1 => false, |
269 | | | 2 => false, |
270 | | | 3 => false, |
271 | | | ), |
272 | | | 'STYLES' => array( |
273 | | | 'KEYWORDS' => array( |
274 | | | 1 => 'color: #b1b100;', |
275 | | | 2 => 'color: #000000; font-weight: bold;', |
276 | | | 3 => 'color: #000066;' |
277 | | | ), |
278 | | | 'COMMENTS' => array( |
279 | | | 1 => 'color: #808080; font-style: italic;', |
280 | | | 'MULTI' => 'color: #808080; font-style: italic;' |
281 | | | ), |
282 | | | 'ESCAPE_CHAR' => array( |
283 | | | |
284 | | | ), |
285 | | | 'BRACKETS' => array( |
286 | | | |
287 | | | ), |
288 | | | 'STRINGS' => array( |
289 | | | |
290 | | | ), |
291 | | | 'NUMBERS' => array( |
292 | | | |
293 | | | ), |
294 | | | 'METHODS' => array( |
295 | | | 1 => 'color: #006600;', |
296 | | | 2 => 'color: #006600;' |
297 | | | ), |
298 | | | 'SYMBOLS' => array( |
299 | | | |
300 | | | ), |
301 | | | 'REGEXPS' => array( |
302 | | | ), |
303 | | | 'SCRIPT' => array( |
304 | | | ) |
305 | | | ), |
306 | | | 'URLS' => array( |
307 | | | 1 => 'http://www.kixtart.org/manual/Commands/{FNAMEL}.htm', |
308 | | | 2 => '', |
309 | | | 3 => 'http://www.kixtart.org/manual/Functions/{FNAMEL}.htm' |
310 | | | ), |
311 | | | 'OOLANG' => true, |
312 | | | 'OBJECT_SPLITTERS' => array( |
313 | | | 1 => '.' |
314 | | | ), |
315 | | | 'REGEXPS' => array( |
316 | | | ), |
317 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
318 | | | 'SCRIPT_DELIMITERS' => array( |
319 | | | ), |
320 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
321 | | | |
322 | | | 1 => true, |
323 | | | 2 => true, |
324 | | | 3 => true |
325 | | | ), |
326 | | | 'TAB_WIDTH' => 4 |
327 | | | ); |
328 | | | |
329 | | | ?> |