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.

oberon2.php 4.1KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*************************************************************************************
  3. * oberon2.php
  4. * ----------
  5. * Author: mbishop (mbishop@esoteriq.org)
  6. * Copyright: (c) 2009 mbishop (mbishop@esoteriq.org)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/02/10
  9. *
  10. * Oberon-2 language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. *
  15. * TODO
  16. * -------------------------
  17. *
  18. *************************************************************************************
  19. *
  20. * This file is part of GeSHi.
  21. *
  22. * GeSHi is free software; you can redistribute it and/or modify
  23. * it under the terms of the GNU General Public License as published by
  24. * the Free Software Foundation; either version 2 of the License, or
  25. * (at your option) any later version.
  26. *
  27. * GeSHi is distributed in the hope that it will be useful,
  28. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  30. * GNU General Public License for more details.
  31. *
  32. * You should have received a copy of the GNU General Public License
  33. * along with GeSHi; if not, write to the Free Software
  34. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  35. *
  36. ************************************************************************************/
  37. $language_data = array (
  38. 'LANG_NAME' => 'Oberon-2',
  39. 'COMMENT_SINGLE' => array(),
  40. 'COMMENT_MULTI' => array('(*' => '*)'),
  41. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  42. 'QUOTEMARKS' => array('"'),
  43. 'HARDQUOTE' => array("'", "'"),
  44. 'HARDESCAPE' => array("''"),
  45. 'ESCAPE_CHAR' => '\\',
  46. 'KEYWORDS' => array(
  47. 1 => array(
  48. 'ARRAY', 'BEGIN', 'BY', 'CASE',
  49. 'CONST', 'DIV', 'DO', 'ELSE', 'ELSIF', 'END',
  50. 'EXIT', 'FOR', 'IF', 'IMPORT', 'IN', 'IS',
  51. 'LOOP', 'MOD', 'MODULE', 'OF',
  52. 'OR', 'POINTER', 'PROCEDURE', 'RECORD',
  53. 'REPEAT', 'RETURN', 'THEN', 'TO',
  54. 'TYPE', 'UNTIL', 'VAR', 'WHILE', 'WITH'
  55. ),
  56. 2 => array(
  57. 'NIL', 'FALSE', 'TRUE',
  58. ),
  59. 3 => array(
  60. 'ABS', 'ASH', 'ASSERT', 'CAP', 'CHR', 'COPY', 'DEC',
  61. 'ENTIER', 'EXCL', 'HALT', 'INC', 'INCL', 'LEN',
  62. 'LONG', 'MAX', 'MIN', 'NEW', 'ODD', 'ORD', 'SHORT', 'SIZE'
  63. ),
  64. 4 => array(
  65. 'BOOLEAN', 'CHAR', 'SHORTINT', 'LONGINT',
  66. 'INTEGER', 'LONGREAL', 'REAL', 'SET', 'PTR'
  67. ),
  68. ),
  69. 'SYMBOLS' => array(
  70. ',', ':', '=', '+', '-', '*', '/', '#', '~'
  71. ),
  72. 'CASE_SENSITIVE' => array(
  73. GESHI_COMMENTS => false,
  74. 1 => true,
  75. 2 => true,
  76. 3 => true,
  77. 4 => true,
  78. ),
  79. 'STYLES' => array(
  80. 'KEYWORDS' => array(
  81. 1 => 'color: #000000; font-weight: bold;',
  82. 2 => 'color: #000000; font-weight: bold;',
  83. 3 => 'color: #000066;',
  84. 4 => 'color: #000066; font-weight: bold;'
  85. ),
  86. 'COMMENTS' => array(
  87. 'MULTI' => 'color: #666666; font-style: italic;'
  88. ),
  89. 'ESCAPE_CHAR' => array(
  90. 0 => 'color: #000099; font-weight: bold;',
  91. 'HARD' => 'color: #000099; font-weight: bold;'
  92. ),
  93. 'BRACKETS' => array(
  94. 0 => 'color: #009900;'
  95. ),
  96. 'STRINGS' => array(
  97. 0 => 'color: #ff0000;',
  98. 'HARD' => 'color: #ff0000;'
  99. ),
  100. 'NUMBERS' => array(
  101. 0 => 'color: #cc66cc;'
  102. ),
  103. 'METHODS' => array(
  104. 1 => 'color: #0066ee;'
  105. ),
  106. 'SYMBOLS' => array(
  107. 0 => 'color: #339933;'
  108. ),
  109. 'REGEXPS' => array(
  110. ),
  111. 'SCRIPT' => array(
  112. )
  113. ),
  114. 'URLS' => array(
  115. 1 => '',
  116. 2 => '',
  117. 3 => '',
  118. 4 => ''
  119. ),
  120. 'OOLANG' => true,
  121. 'OBJECT_SPLITTERS' => array(
  122. 1 => '.'
  123. ),
  124. 'REGEXPS' => array(
  125. ),
  126. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  127. 'SCRIPT_DELIMITERS' => array(
  128. ),
  129. 'HIGHLIGHT_STRICT_BLOCK' => array(
  130. ),
  131. 'TAB_WIDTH' => 4
  132. );
  133. ?>