KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
5.1KB

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