1 | <?php
|
---|
2 | /*************************************************************************************
|
---|
3 | * io.php
|
---|
4 | * -------
|
---|
5 | * Author: Nigel McNie ([email protected])
|
---|
6 | * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
|
---|
7 | * Release Version: 1.0.8.8
|
---|
8 | * Date Started: 2006/09/23
|
---|
9 | *
|
---|
10 | * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help
|
---|
11 | * with this language :)
|
---|
12 | *
|
---|
13 | * CHANGES
|
---|
14 | * -------
|
---|
15 | * 2006/09/23(1.0.0)
|
---|
16 | * - First Release
|
---|
17 | *
|
---|
18 | * TODO
|
---|
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' => 'Io',
|
---|
43 | 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
---|
44 | 'COMMENT_MULTI' => array('/*' => '*/'),
|
---|
45 | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
---|
46 | 'QUOTEMARKS' => array('"'),
|
---|
47 | 'ESCAPE_CHAR' => '\\',
|
---|
48 | 'KEYWORDS' => array(
|
---|
49 | 1 => array(
|
---|
50 | 'and', 'break', 'else', 'elseif', 'exit', 'for', 'foreach', 'if', 'ifFalse', 'ifNil',
|
---|
51 | 'ifTrue', 'or', 'pass', 'raise', 'return', 'then', 'try', 'wait', 'while', 'yield'
|
---|
52 | ),
|
---|
53 | 2 => array(
|
---|
54 | 'activate', 'activeCoroCount', 'asString', 'block', 'catch', 'clone', 'collectGarbage',
|
---|
55 | 'compileString', 'continue', 'do', 'doFile', 'doMessage', 'doString', 'forward',
|
---|
56 | 'getSlot', 'getenv', 'hasSlot', 'isActive', 'isNil', 'isResumable', 'list', 'message',
|
---|
57 | 'method', 'parent', 'pause', 'perform', 'performWithArgList', 'print', 'proto',
|
---|
58 | 'raiseResumable', 'removeSlot', 'resend', 'resume', 'schedulerSleepSeconds', 'self',
|
---|
59 | 'sender', 'setSchedulerSleepSeconds', 'setSlot', 'shallowCopy', 'slotNames', 'super',
|
---|
60 | 'system', 'thisBlock', 'thisContext', 'thisMessage', 'type', 'uniqueId', 'updateSlot',
|
---|
61 | 'write'
|
---|
62 | ),
|
---|
63 | 3 => array(
|
---|
64 | 'Array', 'AudioDevice', 'AudioMixer', 'Block', 'Box', 'Buffer', 'CFunction', 'CGI',
|
---|
65 | 'Color', 'Curses', 'DBM', 'DNSResolver', 'DOConnection', 'DOProxy', 'DOServer',
|
---|
66 | 'Date', 'Directory', 'Duration', 'DynLib', 'Error', 'Exception', 'FFT', 'File',
|
---|
67 | 'Fnmatch', 'Font', 'Future', 'GL', 'GLE', 'GLScissor', 'GLU', 'GLUCylinder',
|
---|
68 | 'GLUQuadric', 'GLUSphere', 'GLUT', 'Host', 'Image', 'Importer', 'LinkList', 'List',
|
---|
69 | 'Lobby', 'Locals', 'MD5', 'MP3Decoder', 'MP3Encoder', 'Map', 'Message', 'Movie',
|
---|
70 | 'NULL', 'Nil', 'Nop', 'Notifiction', 'Number', 'Object', 'OpenGL', 'Point', 'Protos',
|
---|
71 | 'Regex', 'SGMLTag', 'SQLite', 'Server', 'ShowMessage', 'SleepyCat', 'SleepyCatCursor',
|
---|
72 | 'Socket', 'SocketManager', 'Sound', 'Soup', 'Store', 'String', 'Tree', 'UDPSender',
|
---|
73 | 'UDPReceiver', 'URL', 'User', 'Warning', 'WeakLink'
|
---|
74 | )
|
---|
75 | ),
|
---|
76 | 'SYMBOLS' => array(
|
---|
77 | '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
|
---|
78 | ),
|
---|
79 | 'CASE_SENSITIVE' => array(
|
---|
80 | GESHI_COMMENTS => false,
|
---|
81 | 1 => false,
|
---|
82 | 2 => false,
|
---|
83 | 3 => false,
|
---|
84 | ),
|
---|
85 | 'STYLES' => array(
|
---|
86 | 'KEYWORDS' => array(
|
---|
87 | 1 => 'color: #b1b100;',
|
---|
88 | 2 => 'color: #000000; font-weight: bold;',
|
---|
89 | 3 => 'color: #000066;'
|
---|
90 | ),
|
---|
91 | 'COMMENTS' => array(
|
---|
92 | 1 => 'color: #808080; font-style: italic;',
|
---|
93 | 2 => 'color: #808080; font-style: italic;',
|
---|
94 | 'MULTI' => 'color: #808080; font-style: italic;'
|
---|
95 | ),
|
---|
96 | 'ESCAPE_CHAR' => array(
|
---|
97 | 0 => 'color: #000099; font-weight: bold;'
|
---|
98 | ),
|
---|
99 | 'BRACKETS' => array(
|
---|
100 | 0 => 'color: #66cc66;'
|
---|
101 | ),
|
---|
102 | 'STRINGS' => array(
|
---|
103 | 0 => 'color: #ff0000;'
|
---|
104 | ),
|
---|
105 | 'NUMBERS' => array(
|
---|
106 | 0 => 'color: #cc66cc;'
|
---|
107 | ),
|
---|
108 | 'METHODS' => array(
|
---|
109 | 1 => 'color: #006600;',
|
---|
110 | 2 => 'color: #006600;'
|
---|
111 | ),
|
---|
112 | 'SYMBOLS' => array(
|
---|
113 | 0 => 'color: #66cc66;'
|
---|
114 | ),
|
---|
115 | 'REGEXPS' => array(
|
---|
116 | ),
|
---|
117 | 'SCRIPT' => array(
|
---|
118 | 0 => ''
|
---|
119 | )
|
---|
120 | ),
|
---|
121 | 'URLS' => array(
|
---|
122 | 1 => '',
|
---|
123 | 2 => '',
|
---|
124 | 3 => ''
|
---|
125 | ),
|
---|
126 | 'OOLANG' => false,
|
---|
127 | 'OBJECT_SPLITTERS' => array(
|
---|
128 | ),
|
---|
129 | 'REGEXPS' => array(
|
---|
130 | ),
|
---|
131 | 'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
---|
132 | 'SCRIPT_DELIMITERS' => array(
|
---|
133 | ),
|
---|
134 | 'HIGHLIGHT_STRICT_BLOCK' => array(
|
---|
135 | )
|
---|
136 | );
|
---|
137 |
|
---|
138 | ?>
|
---|