PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/script/includes/geshi/geshi/lisp.php

http://konstrukt.googlecode.com/
PHP | 106 lines | 63 code | 2 blank | 41 comment | 0 complexity | 149d2f42b2d13dc538c9b9af3a9e1fec MD5 | raw file
  1. <?php
  2. /*************************************************************************************
  3. * lisp.php
  4. * --------
  5. * Author: Roberto Rossi (rsoftware@altervista.org)
  6. * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter
  7. * Release Version: 1.0.6
  8. * CVS Revision Version: $Revision: 1.1 $
  9. * Date Started: 2004/08/30
  10. * Last Modified: $Date: 2005/06/02 04:57:18 $
  11. *
  12. * Generic Lisp language file for GeSHi.
  13. *
  14. * CHANGES
  15. * -------
  16. * 2004/11/27 (1.0.1)
  17. * - Added support for multiple object splitters
  18. * 2004/08/30 (1.0.0)
  19. * - First Release
  20. *
  21. * TODO (updated 2004/11/27)
  22. * -------------------------
  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. $language_data = array (
  44. 'LANG_NAME' => 'LISP',
  45. 'COMMENT_SINGLE' => array(1 => ';'),
  46. 'COMMENT_MULTI' => array(';|' => '|;'),
  47. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  48. 'QUOTEMARKS' => array('"'),
  49. 'ESCAPE_CHAR' => '\\',
  50. 'KEYWORDS' => array(
  51. 1 => array('request', 'http-response', 'dispatch', 'debug', 'array', 'string', 'object', 'integer', 'float', '*NULL*'),
  52. ),
  53. 'SYMBOLS' => array(
  54. '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|'
  55. ),
  56. 'CASE_SENSITIVE' => array(
  57. GESHI_COMMENTS => true,
  58. 1 => false
  59. ),
  60. 'STYLES' => array(
  61. 'KEYWORDS' => array(
  62. 1 => 'color: #b1b100;'
  63. ),
  64. 'COMMENTS' => array(
  65. 1 => 'color: #808080; font-style: italic;',
  66. 'MULTI' => 'color: #808080; font-style: italic;'
  67. ),
  68. 'ESCAPE_CHAR' => array(
  69. 0 => 'color: #000099; font-weight: bold;'
  70. ),
  71. 'BRACKETS' => array(
  72. 0 => 'color: #66cc66;'
  73. ),
  74. 'STRINGS' => array(
  75. 0 => 'color: #ff0000;'
  76. ),
  77. 'NUMBERS' => array(
  78. 0 => 'color: #cc66cc;'
  79. ),
  80. 'METHODS' => array(
  81. 0 => 'color: #202020;'
  82. ),
  83. 'SYMBOLS' => array(
  84. 0 => 'color: #66cc66;'
  85. ),
  86. 'REGEXPS' => array(
  87. ),
  88. 'SCRIPT' => array(
  89. )
  90. ),
  91. 'URLS' => array(
  92. ),
  93. 'OOLANG' => false,
  94. 'OBJECT_SPLITTERS' => array(
  95. ),
  96. 'REGEXPS' => array(
  97. ),
  98. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  99. 'SCRIPT_DELIMITERS' => array(
  100. ),
  101. 'HIGHLIGHT_STRICT_BLOCK' => array(
  102. )
  103. );
  104. ?>