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.

130 lines
4.6KB

  1. <?php
  2. /*************************************************************************************
  3. * locobasic.php
  4. * -------------
  5. * Author: Nacho Cabanes
  6. * Copyright: (c) 2009 Nacho Cabanes (http://www.nachocabanes.com)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/03/22
  9. *
  10. * Locomotive Basic (Amstrad CPC series) language file for GeSHi.
  11. *
  12. * More details at http://en.wikipedia.org/wiki/Locomotive_BASIC
  13. *
  14. * CHANGES
  15. * -------
  16. * 2009/03/22 (1.0.8.3)
  17. * - First Release
  18. *
  19. *************************************************************************************
  20. *
  21. * This file is part of GeSHi.
  22. *
  23. * GeSHi is free software; you can redistribute it and/or modify
  24. * it under the terms of the GNU General Public License as published by
  25. * the Free Software Foundation; either version 2 of the License, or
  26. * (at your option) any later version.
  27. *
  28. * GeSHi is distributed in the hope that it will be useful,
  29. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  30. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  31. * GNU General Public License for more details.
  32. *
  33. * You should have received a copy of the GNU General Public License
  34. * along with GeSHi; if not, write to the Free Software
  35. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  36. *
  37. ************************************************************************************/
  38. $language_data = array (
  39. 'LANG_NAME' => 'Locomotive Basic',
  40. 'COMMENT_SINGLE' => array(1 => "'", 2 => 'REM'),
  41. 'COMMENT_MULTI' => array(),
  42. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  43. 'QUOTEMARKS' => array('"'),
  44. 'ESCAPE_CHAR' => '\\',
  45. 'KEYWORDS' => array(
  46. 1 => array(
  47. "AFTER", "AND", "AUTO", "BORDER", "BREAK", "CALL", "CAT", "CHAIN",
  48. "CLEAR", "CLG", "CLS", "CLOSEIN", "CLOSEOUT", "CONT", "CURSOR",
  49. "DATA", "DEF", "DEFINT", "DEFREAL", "DEFSTR", "DEG", "DELETE",
  50. "DERR", "DI", "DIM", "DRAW", "DRAWR", "EDIT", "EI", "ELSE", "END",
  51. "ENV", "ENT", "EOF", "ERASE", "ERL", "ERR", "ERROR", "EVERY",
  52. "FILL", "FN", "FOR", "FRAME", "GOSUB", "GOTO", "GRAPHICS", "HIMEM",
  53. "IF", "INK", "INPUT", "KEY", "LET", "LINE", "LIST", "LOAD",
  54. "LOCATE", "MASK", "MEMORY", "MERGE", "MODE", "MOVE", "MOVER", "NEW",
  55. "NEXT", "NOT", "ON", "OPENIN", "OPENOUT", "OR", "ORIGIN", "PAPER",
  56. "PEEK", "PEN", "PLOT", "PLOTR", "POKE", "PRINT", "RAD", "RANDOMIZE",
  57. "READ", "RELEASE", "REMAIN", "RENUM", "RESTORE", "RESUME", "RETURN",
  58. "RUN", "SAVE", "SPEED", "SOUND", "SPC", "SQ", "STEP", "STOP", "SWAP",
  59. "SYMBOL", "TAB", "TAG", "TAGOFF", "TEST", "TESTR", "TIME", "TO",
  60. "THEN", "TRON", "TROFF", "USING", "WAIT", "WEND", "WHILE", "WIDTH",
  61. "WINDOW", "WRITE", "XOR", "ZONE"
  62. ),
  63. 2 => array(
  64. "ABS", "ASC", "ATN", "BIN", "CHR", "CINT", "COPYCHR", "COS",
  65. "CREAL", "DEC", "FIX", "FRE", "EXP", "HEX", "INKEY", "INP", "INSTR",
  66. "INT", "JOY", "LEFT", "LEN", "LOG", "LOG10", "LOWER", "MAX", "MID",
  67. "MIN", "MOD", "OUT", "PI", "POS", "RIGHT", "RND", "ROUND", "SGN",
  68. "SIN", "SPACE", "SQR", "STR", "STRING", "TAN", "UNT", "UPPER",
  69. "VAL", "VPOS", "XPOS", "YPOS"
  70. )
  71. ),
  72. 'SYMBOLS' => array(
  73. '(', ')'
  74. ),
  75. 'CASE_SENSITIVE' => array(
  76. GESHI_COMMENTS => false,
  77. 1 => false,
  78. 2 => false
  79. ),
  80. 'STYLES' => array(
  81. 'KEYWORDS' => array(
  82. 1 => 'color: #000088; font-weight: bold;',
  83. 2 => 'color: #AA00AA; font-weight: bold;'
  84. ),
  85. 'COMMENTS' => array(
  86. 1 => 'color: #808080;',
  87. 2 => 'color: #808080;'
  88. ),
  89. 'BRACKETS' => array(
  90. 0 => 'color: #ff0000;'
  91. ),
  92. 'STRINGS' => array(
  93. 0 => 'color: #008800;'
  94. ),
  95. 'NUMBERS' => array(
  96. 0 => 'color: #0044ff;'
  97. ),
  98. 'METHODS' => array(
  99. 0 => 'color: #66cc66;'
  100. ),
  101. 'SYMBOLS' => array(
  102. 0 => 'color: #66cc66;'
  103. ),
  104. 'ESCAPE_CHAR' => array(
  105. 0 => 'color: #000099;'
  106. ),
  107. 'SCRIPT' => array(
  108. ),
  109. 'REGEXPS' => array(
  110. )
  111. ),
  112. 'URLS' => array(
  113. 1 => '',
  114. 2 => ''
  115. ),
  116. 'OOLANG' => true,
  117. 'OBJECT_SPLITTERS' => array(
  118. 1 => '.'
  119. ),
  120. 'REGEXPS' => array(
  121. ),
  122. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  123. 'SCRIPT_DELIMITERS' => array(
  124. ),
  125. 'HIGHLIGHT_STRICT_BLOCK' => array(
  126. )
  127. );
  128. ?>