1<?php 2/************************************************************************************* 3 * icon.php 4 * -------- 5 * Author: Matt Oates (mattoates@gmail.com) 6 * Copyright: (c) 2010 Matt Oates (http://mattoates.co.uk) 7 * Release Version: 1.0.9.1 8 * Date Started: 2010/04/24 9 * 10 * Icon language file for GeSHi. 11 * 12 * CHANGES 13 * ------- 14 * 2010/04/24 (0.0.0.2) 15 * - Validated with Geshi langcheck.php FAILED due to preprocessor keywords looking like symbols 16 * - Hard wrapped to improve readability 17 * 2010/04/20 (0.0.0.1) 18 * - First Release 19 * 20 * TODO (updated 2010/04/20) 21 * ------------------------- 22 * - Do the & need replacing with &? 23 * 24 ************************************************************************************* 25 * 26 * This file is part of GeSHi. 27 * 28 * GeSHi is free software; you can redistribute it and/or modify 29 * it under the terms of the GNU General Public License as published by 30 * the Free Software Foundation; either version 2 of the License, or 31 * (at your option) any later version. 32 * 33 * GeSHi is distributed in the hope that it will be useful, 34 * but WITHOUT ANY WARRANTY; without even the implied warranty of 35 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 * GNU General Public License for more details. 37 * 38 * You should have received a copy of the GNU General Public License 39 * along with GeSHi; if not, write to the Free Software 40 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 41 * 42 ************************************************************************************/ 43 44$language_data = array( 45 'LANG_NAME' => 'Icon', 46 'COMMENT_SINGLE' => array(1 => '#'), 47 'COMMENT_MULTI' => array(), 48 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 49 'QUOTEMARKS' => array('"', '\''), 50 'ESCAPE_CHAR' => '\\', 51 'KEYWORDS' => array( 52 1 => array( 53 'break', 'case', 'continue', 'create', 'default', 'do', 'else', 54 'end', 'every', 'fail', 'for', 'if', 'import', 'initial', 55 'initially', 'invocable', 'link', 'next', 'not', 'of', 'package', 56 'procedure', 'record', 'repeat', 'return', 'switch', 'suspend', 57 'then', 'to', 'until', 'while' 58 ), 59 2 => array( 60 'global', 'local', 'static' 61 ), 62 3 => array( 63 'allocated', 'ascii', 'clock', 'collections', 64 'column', 'cset', 'current', 'date', 'dateline', 'digits', 65 'dump', 'e', 'error', 'errornumber', 'errortext', 66 'errorvalue', 'errout', 'eventcode', 'eventsource', 'eventvalue', 67 'fail', 'features', 'file', 'host', 'input', 'lcase', 68 'letters', 'level', 'line', 'main', 'now', 'null', 69 'output', 'phi', 'pi', 'pos', 'progname', 'random', 70 'regions', 'source', 'storage', 'subject', 'syserr', 'time', 71 'trace', 'ucase', 'version', 'col', 'control', 'interval', 72 'ldrag', 'lpress', 'lrelease', 'mdrag', 'meta', 'mpress', 73 'mrelease', 'rdrag', 'resize', 'row', 'rpress', 'rrelease', 74 'shift', 'window', 'x', 'y' 75 ), 76 4 => array( 77 'abs', 'acos', 'any', 'args', 'asin', 'atan', 'bal', 'center', 'char', 78 'chmod', 'close', 'cofail', 'collect', 'copy', 'cos', 'cset', 'ctime', 'delay', 'delete', 79 'detab', 'display', 'dtor', 'entab', 'errorclear', 'event', 'eventmask', 'EvGet', 'exit', 80 'exp', 'fetch', 'fieldnames', 'find', 'flock', 'flush', 'function', 'get', 'getch', 81 'getche', 'getenv', 'gettimeofday', 'globalnames', 'gtime', 'iand', 'icom', 'image', 82 'insert', 'integer', 'ior', 'ishift', 'ixor', 'key', 'left', 'list', 'load', 'loadfunc', 83 'localnames', 'log', 'many', 'map', 'match', 'member', 'mkdir', 'move', 'name', 'numeric', 84 'open', 'opmask', 'ord', 'paramnames', 'parent', 'pipe', 'pop', 'pos', 'proc', 'pull', 85 'push', 'put', 'read', 'reads', 'real', 'receive', 'remove', 'rename', 'repl', 'reverse', 86 'right', 'rmdir', 'rtod', 'runerr', 'seek', 'select', 'send', 'seq', 'serial', 'set', 87 'setenv', 'sort', 'sortf', 'sql', 'sqrt', 'stat', 'stop', 'string', 'system', 'tab', 88 'table', 'tan', 'trap', 'trim', 'truncate', 'type', 'upto', 'utime', 'variable', 'where', 89 'write', 'writes' 90 ), 91 5 => array( 92 'Active', 'Alert', 'Bg', 'Clip', 'Clone', 'Color', 'ColorValue', 93 'CopyArea', 'Couple', 'DrawArc', 'DrawCircle', 'DrawCurve', 'DrawCylinder', 'DrawDisk', 94 'DrawImage', 'DrawLine', 'DrawPoint', 'DrawPolygon', 'DrawRectangle', 'DrawSegment', 95 'DrawSphere', 'DrawString', 'DrawTorus', 'EraseArea', 'Event', 'Fg', 'FillArc', 96 'FillCircle', 'FillPolygon', 'FillRectangle', 'Font', 'FreeColor', 'GotoRC', 'GotoXY', 97 'IdentifyMatrix', 'Lower', 'MatrixMode', 'NewColor', 'PaletteChars', 'PaletteColor', 98 'PaletteKey', 'Pattern', 'Pending', 'Pixel', 'PopMatrix', 'PushMatrix', 'PushRotate', 99 'PushScale', 'PushTranslate', 'QueryPointer', 'Raise', 'ReadImage', 'Refresh', 'Rotate', 100 'Scale', 'Texcoord', 'TextWidth', 'Texture', 'Translate', 'Uncouple', 'WAttrib', 101 'WDefault', 'WFlush', 'WindowContents', 'WriteImage', 'WSync' 102 ), 103 6 => array( 104 'define', 'include', 'ifdef', 'ifndef', 'else', 'endif', 'error', 105 'line', 'undef' 106 ), 107 7 => array( 108 '_V9', '_AMIGA', '_ACORN', '_CMS', '_MACINTOSH', '_MSDOS_386', 109 '_MS_WINDOWS_NT', '_MSDOS', '_MVS', '_OS2', '_POR', 'T', '_UNIX', '_POSIX', '_DBM', 110 '_VMS', '_ASCII', '_EBCDIC', '_CO_EXPRESSIONS', '_CONSOLE_WINDOW', '_DYNAMIC_LOADING', 111 '_EVENT_MONITOR', '_EXTERNAL_FUNCTIONS', '_KEYBOARD_FUNCTIONS', '_LARGE_INTEGERS', 112 '_MULTITASKING', '_PIPES', '_RECORD_IO', '_SYSTEM_FUNCTION', '_MESSAGING', '_GRAPHICS', 113 '_X_WINDOW_SYSTEM', '_MS_WINDOWS', '_WIN32', '_PRESENTATION_MGR', '_ARM_FUNCTIONS', 114 '_DOS_FUNCTIONS' 115 ), 116 8 => array( 117 'line' 118 ) 119 ), 120 'SYMBOLS' => array( 121 1 => array( 122 '(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '\\', '%', '=', '<', '>', '!', '^', 123 '&', '|', '?', ':', ';', ',', '.', '~', '@' 124 ), 125 2 => array( 126 '$(', '$)', '$<', '$>', '$' 127 ) 128 ), 129 'CASE_SENSITIVE' => array( 130 GESHI_COMMENTS => false, 131 1 => true, 132 2 => true, 133 3 => true, 134 4 => true, 135 5 => true, 136 6 => true, 137 7 => true, 138 8 => true 139 ), 140 'STYLES' => array( 141 'KEYWORDS' => array( 142 1 => 'color: #b1b100;', 143 2 => 'color: #b1b100;', 144 3 => 'color: #b1b100;', 145 4 => 'color: #b1b100;', 146 5 => 'color: #b1b100;', 147 6 => 'color: #b1b100;', 148 7 => 'color: #b1b100;', 149 8 => 'color: #b1b100;' 150 ), 151 'COMMENTS' => array( 152 1 => 'color: #666666; font-style: italic;', 153 'MULTI' => 'color: #666666; font-style: italic;' 154 ), 155 'ESCAPE_CHAR' => array( 156 0 => 'color: #000099; font-weight: bold;' 157 ), 158 'BRACKETS' => array( 159 0 => 'color: #009900;' 160 ), 161 'STRINGS' => array( 162 0 => 'color: #0000ff;' 163 ), 164 'NUMBERS' => array( 165 0 => 'color: #cc66cc;', 166 ), 167 'METHODS' => array( 168 0 => 'color: #004000;' 169 ), 170 'SYMBOLS' => array( 171 1 => 'color: #339933;', 172 2 => 'color: #b1b100;' 173 ), 174 'REGEXPS' => array(), 175 'SCRIPT' => array() 176 ), 177 'URLS' => array( 178 1 => '', 179 2 => '', 180 3 => '', 181 4 => '', 182 5 => '', 183 6 => '', 184 7 => '', 185 8 => '' 186 ), 187 'OOLANG' => true, 188 'OBJECT_SPLITTERS' => array(1 => '.'), 189 'REGEXPS' => array(), 190 'STRICT_MODE_APPLIES' => GESHI_NEVER, 191 'SCRIPT_DELIMITERS' => array(), 192 'HIGHLIGHT_STRICT_BLOCK' => array(), 193 'PARSER_CONTROL' => array( 194 'KEYWORDS' => array( 195 3 => array( 196 'DISALLOWED_BEFORE' => '(?<=&)' 197 ), 198 4 => array( 199 'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9_\"\'])", 200 'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\"\'])" 201 ), 202 6 => array( 203 'DISALLOWED_BEFORE' => '(?<=\$)' 204 ), 205 8 => array( 206 'DISALLOWED_BEFORE' => '(?<=#)' 207 ) 208 ) 209 ) 210); 211