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.

135 lines
4.4KB

  1. <?php
  2. /*************************************************************************************
  3. * modula3.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/01/21
  9. *
  10. * Modula-3 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' => 'Modula-3',
  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. 'AND', 'ANY', 'ARRAY', 'AS', 'BEGIN', 'BITS', 'BRANDED', 'BY', 'CASE',
  49. 'CONST', 'DIV', 'DO', 'ELSE', 'ELSIF', 'END', 'EVAL', 'EXCEPT', 'EXCEPTION',
  50. 'EXIT', 'EXPORTS', 'FINALLY', 'FOR', 'FROM', 'GENERIC', 'IF', 'IMPORT', 'IN',
  51. 'INTERFACE', 'LOCK', 'LOOP', 'METHODS', 'MOD', 'MODULE', 'NOT', 'OBJECT', 'OF',
  52. 'OR', 'OVERRIDES', 'PROCEDURE', 'RAISE', 'RAISES', 'READONLY', 'RECORD', 'REF',
  53. 'REPEAT', 'RETURN', 'REVEAL', 'ROOT', 'SET', 'THEN', 'TO', 'TRY', 'TYPE', 'TYPECASE',
  54. 'UNSAFE', 'UNTIL', 'UNTRACED', 'VALUE', 'VAR', 'WHILE', 'WITH'
  55. ),
  56. 2 => array(
  57. 'NIL', 'NULL', 'FALSE', 'TRUE',
  58. ),
  59. 3 => array(
  60. 'ABS','ADR','ADRSIZE','BITSIZE','BYTESIZE','CEILING','DEC','DISPOSE',
  61. 'EXTENDED','FIRST','FLOAT','FLOOR','INC','ISTYPE','LAST','LOOPHOLE','MAX','MIN',
  62. 'NARROW','NEW','NUMBER','ORD','ROUND','SUBARRAY','TRUNC','TYPECODE', 'VAL'
  63. ),
  64. 4 => array(
  65. 'ADDRESS', 'BOOLEAN', 'CARDINAL', 'CHAR', 'INTEGER',
  66. 'LONGREAL', 'MUTEX', 'REAL', 'REFANY', 'TEXT'
  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. ?>