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.3 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 39 $language_data = array ( 40 'LANG_NAME' => 'Locomotive Basic', 41 'COMMENT_SINGLE' => array(1 => "'", 2 => 'REM'), 42 'COMMENT_MULTI' => array(), 43 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 44 'QUOTEMARKS' => array('"'), 45 'ESCAPE_CHAR' => '\\', 46 'KEYWORDS' => array( 47 1 => array( 48 "AFTER", "AND", "AUTO", "BORDER", "BREAK", "CALL", "CAT", "CHAIN", 49 "CLEAR", "CLG", "CLS", "CLOSEIN", "CLOSEOUT", "CONT", "CURSOR", 50 "DATA", "DEF", "DEFINT", "DEFREAL", "DEFSTR", "DEG", "DELETE", 51 "DERR", "DI", "DIM", "DRAW", "DRAWR", "EDIT", "EI", "ELSE", "END", 52 "ENV", "ENT", "EOF", "ERASE", "ERL", "ERR", "ERROR", "EVERY", 53 "FILL", "FN", "FOR", "FRAME", "GOSUB", "GOTO", "GRAPHICS", "HIMEM", 54 "IF", "INK", "INPUT", "KEY", "LET", "LINE", "LIST", "LOAD", 55 "LOCATE", "MASK", "MEMORY", "MERGE", "MODE", "MOVE", "MOVER", "NEW", 56 "NEXT", "NOT", "ON", "OPENIN", "OPENOUT", "OR", "ORIGIN", "PAPER", 57 "PEEK", "PEN", "PLOT", "PLOTR", "POKE", "PRINT", "RAD", "RANDOMIZE", 58 "READ", "RELEASE", "REMAIN", "RENUM", "RESTORE", "RESUME", "RETURN", 59 "RUN", "SAVE", "SPEED", "SOUND", "SPC", "SQ", "STEP", "STOP", "SWAP", 60 "SYMBOL", "TAB", "TAG", "TAGOFF", "TEST", "TESTR", "TIME", "TO", 61 "THEN", "TRON", "TROFF", "USING", "WAIT", "WEND", "WHILE", "WIDTH", 62 "WINDOW", "WRITE", "XOR", "ZONE" 63 ), 64 2 => array( 65 "ABS", "ASC", "ATN", "BIN", "CHR", "CINT", "COPYCHR", "COS", 66 "CREAL", "DEC", "FIX", "FRE", "EXP", "HEX", "INKEY", "INP", "INSTR", 67 "INT", "JOY", "LEFT", "LEN", "LOG", "LOG10", "LOWER", "MAX", "MID", 68 "MIN", "MOD", "OUT", "PI", "POS", "RIGHT", "RND", "ROUND", "SGN", 69 "SIN", "SPACE", "SQR", "STR", "STRING", "TAN", "UNT", "UPPER", 70 "VAL", "VPOS", "XPOS", "YPOS" 71 ) 72 ), 73 'SYMBOLS' => array( 74 '(', ')' 75 ), 76 'CASE_SENSITIVE' => array( 77 GESHI_COMMENTS => false, 78 1 => false, 79 2 => false 80 ), 81 'STYLES' => array( 82 'KEYWORDS' => array( 83 1 => 'color: #0000ff; font-weight: bold;', 84 2 => 'color: #008888; font-weight: bold;' 85 ), 86 'COMMENTS' => array( 87 1 => 'color: #808080;', 88 2 => 'color: #808080;' 89 ), 90 'BRACKETS' => array( 91 0 => 'color: #ff0000;' 92 ), 93 'STRINGS' => array( 94 0 => 'color: #ff0000;' 95 ), 96 'NUMBERS' => array( 97 0 => 'color: #0044ff;' 98 ), 99 'METHODS' => array( 100 0 => 'color: #66cc66;' 101 ), 102 'SYMBOLS' => array( 103 0 => 'color: #66cc66;' 104 ), 105 'ESCAPE_CHAR' => array( 106 0 => 'color: #000099;' 107 ), 108 'SCRIPT' => array( 109 ), 110 'REGEXPS' => array( 111 ) 112 ), 113 'URLS' => array( 114 1 => '', 115 2 => '' 116 ), 117 'OOLANG' => true, 118 'OBJECT_SPLITTERS' => array( 119 1 => '.' 120 ), 121 'REGEXPS' => array( 122 ), 123 'STRICT_MODE_APPLIES' => GESHI_NEVER, 124 'SCRIPT_DELIMITERS' => array( 125 ), 126 'HIGHLIGHT_STRICT_BLOCK' => array( 127 ) 128 ); 129 130 ?>