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.

scheme.php 6.2KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?php
  2. /*************************************************************************************
  3. * scheme.php
  4. * ----------
  5. * Author: Jon Raphaelson (jonraphaelson@gmail.com)
  6. * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2004/08/30
  9. *
  10. * Scheme language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/09/22 (1.0.0)
  15. * - First Release
  16. *
  17. * TODO (updated 2005/09/22)
  18. * -------------------------
  19. *
  20. *************************************************************************************
  21. *
  22. * This file is part of GeSHi.
  23. *
  24. * GeSHi is free software; you can redistribute it and/or modify
  25. * it under the terms of the GNU General Public License as published by
  26. * the Free Software Foundation; either version 2 of the License, or
  27. * (at your option) any later version.
  28. *
  29. * GeSHi is distributed in the hope that it will be useful,
  30. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. * GNU General Public License for more details.
  33. *
  34. * You should have received a copy of the GNU General Public License
  35. * along with GeSHi; if not, write to the Free Software
  36. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  37. *
  38. ************************************************************************************/
  39. $language_data = array (
  40. 'LANG_NAME' => 'Scheme',
  41. 'COMMENT_SINGLE' => array(1 => ';'),
  42. 'COMMENT_MULTI' => array('#|' => '|#'),
  43. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  44. 'QUOTEMARKS' => array('"'),
  45. 'ESCAPE_CHAR' => '\\',
  46. 'KEYWORDS' => array(
  47. 1 => array(
  48. 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate',
  49. 'asin', 'assoc', 'assq', 'assv', 'atan',
  50. 'begin', 'boolean?', 'bound-identifier=?',
  51. 'caar', 'caddr', 'cadr', 'call-with-current-continuation',
  52. 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car',
  53. 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer',
  54. 'char-alphabetic?', 'char-ci<=?', 'char-ci<?', 'char-ci?', 'char-ci>=?',
  55. 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?',
  56. 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase',
  57. 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char<?', 'char=?',
  58. 'char>=?', 'char>?', 'char?', 'close-input-port', 'close-output-port',
  59. 'complex?', 'cond', 'cons', 'construct-identifier', 'cos',
  60. 'current-input-port', 'current-output-port',
  61. 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do',
  62. 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact',
  63. 'exact?', 'exp', 'expt', 'else',
  64. 'f', 'floor', 'for-each', 'force', 'free-identifer=?',
  65. 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier',
  66. 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact',
  67. 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system',
  68. 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec',
  69. 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?',
  70. 'load', 'log',
  71. 'magnitude', 'make-polar', 'make-promise', 'make-rectangular',
  72. 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member',
  73. 'memq', 'memv', 'min', 'modulo',
  74. 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?',
  75. 'numerator',
  76. 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port',
  77. 'pair?', 'peek-char', 'positive?', 'procedure?',
  78. 'quasiquote', 'quote', 'quotient',
  79. 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?',
  80. 'remainder', 'return', 'reverse',
  81. 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string',
  82. 'string->list', 'string->number', 'string->symbol', 'string-append',
  83. 'string-ci<=?', 'string-ci<?', 'string-ci=?', 'string-ci>=?',
  84. 'string-ci>?', 'string-copy', 'string-fill!', 'string-length',
  85. 'string-ref', 'string-set!', 'string<=?', 'string<?', 'string=?',
  86. 'string>=?', 'string>?', 'string?', 'substring', 'symbol->string',
  87. 'symbol?', 'syntax', 'syntax-rules',
  88. 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate',
  89. 'unquote', 'unquote-splicing', 'unwrap-syntax',
  90. 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref',
  91. 'vector-set!', 'vector?',
  92. 'with-input-from-file', 'with-output-to-file', 'write', 'write-char',
  93. 'zero?'
  94. )
  95. ),
  96. 'SYMBOLS' => array(
  97. '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|'
  98. ),
  99. 'CASE_SENSITIVE' => array(
  100. GESHI_COMMENTS => false,
  101. 1 => false
  102. ),
  103. 'STYLES' => array(
  104. 'KEYWORDS' => array(
  105. 1 => 'color: #b1b100;'
  106. ),
  107. 'COMMENTS' => array(
  108. 1 => 'color: #808080; font-style: italic;',
  109. 'MULTI' => 'color: #808080; font-style: italic;'
  110. ),
  111. 'ESCAPE_CHAR' => array(
  112. 0 => 'color: #000099; font-weight: bold;'
  113. ),
  114. 'BRACKETS' => array(
  115. 0 => 'color: #66cc66;'
  116. ),
  117. 'STRINGS' => array(
  118. 0 => 'color: #ff0000;'
  119. ),
  120. 'NUMBERS' => array(
  121. 0 => 'color: #cc66cc;'
  122. ),
  123. 'METHODS' => array(
  124. 0 => 'color: #202020;'
  125. ),
  126. 'SYMBOLS' => array(
  127. 0 => 'color: #66cc66;'
  128. ),
  129. 'REGEXPS' => array(
  130. ),
  131. 'SCRIPT' => array(
  132. )
  133. ),
  134. 'URLS' => array(
  135. 1 => ''
  136. ),
  137. 'OOLANG' => false,
  138. 'OBJECT_SPLITTERS' => array(
  139. ),
  140. 'REGEXPS' => array(
  141. ),
  142. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  143. 'SCRIPT_DELIMITERS' => array(
  144. ),
  145. 'HIGHLIGHT_STRICT_BLOCK' => array(
  146. )
  147. );
  148. ?>