1 <?php 2 /************************************************************************************* 3 * intercal.php 4 * ---------- 5 * Author: Benny Baumann (BenBE (at) geshi.org) 6 * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/) 7 * Release Version: 1.0.8.3 8 * Date Started: 2009/10/31 9 * 10 * INTERCAL language file for GeSHi. 11 * 12 * CHANGES 13 * ------- 14 * 2008/10/31 (1.0.8.1) 15 * - First Release 16 * 17 * TODO 18 * ---- 19 * 20 ************************************************************************************* 21 * 22 * This file is part of GeSHi. 23 * 24 * GeSHi is free software; you can redistribute it and/or modify 25 * it under the terms of the GNU General Public License as published by 26 * the Free Software Foundation; either version 2 of the License, or 27 * (at your option) any later version. 28 * 29 * GeSHi is distributed in the hope that it will be useful, 30 * but WITHOUT ANY WARRANTY; without even the implied warranty of 31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 * GNU General Public License for more details. 33 * 34 * You should have received a copy of the GNU General Public License 35 * along with GeSHi; if not, write to the Free Software 36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 37 * 38 ************************************************************************************/ 39 $language_data = array ( 40 'LANG_NAME' => 'INTERCAL', 41 'COMMENT_SINGLE' => array(), 42 'COMMENT_MULTI' => array(), 43 'COMMENT_REGEXP' => array(), 44 'CASE_KEYWORDS' => GESHI_CAPS_UPPER, 45 'QUOTEMARKS' => array(), 46 'ESCAPE_CHAR' => '', 47 'KEYWORDS' => array( 48 //Politeness 49 1 => array( 50 'DO', 'DOES', 'DONT', 'DON\'T', 'NOT', 'PLEASE', 'PLEASENT', 'PLEASEN\'T', 'MAYBE' 51 ), 52 //Statements 53 2 => array( 54 'STASH', 'RETRIEVE', 'NEXT', 'RESUME', 'FORGET', 'ABSTAIN', 'ABSTAINING', 55 'COME', 'FROM', 'CALCULATING', 'REINSTATE', 'IGNORE', 'REMEMBER', 56 'WRITE', 'IN', 'READ', 'OUT', 'GIVE', 'UP' 57 ) 58 ), 59 'SYMBOLS' => array( 60 '.', ',', ':', ';', '#', 61 '~', '$', '&', '?', 62 '\'', '"', '<-' 63 ), 64 'CASE_SENSITIVE' => array( 65 GESHI_COMMENTS => false, 66 1 => false, 67 2 => false 68 ), 69 'STYLES' => array( 70 'KEYWORDS' => array( 71 1 => 'color: #000080; font-weight: bold;', 72 2 => 'color: #000080; font-weight: bold;' 73 ), 74 'COMMENTS' => array( 75 ), 76 'BRACKETS' => array( 77 0 => 'color: #66cc66;' 78 ), 79 'STRINGS' => array( 80 0 => 'color: #ff0000;' 81 ), 82 'NUMBERS' => array( 83 ), 84 'METHODS' => array( 85 ), 86 'SYMBOLS' => array( 87 0 => 'color: #66cc66;' 88 ), 89 'ESCAPE_CHAR' => array( 90 ), 91 'SCRIPT' => array( 92 ), 93 'REGEXPS' => array( 94 1 => 'color: #808080; font-style: italic;' 95 ) 96 ), 97 'URLS' => array( 98 1 => '', 99 2 => '' 100 ), 101 'OOLANG' => false, 102 'OBJECT_SPLITTERS' => array( 103 ), 104 'REGEXPS' => array( 105 1 => '^\(\d+\)' 106 ), 107 'STRICT_MODE_APPLIES' => GESHI_NEVER, 108 'SCRIPT_DELIMITERS' => array( 109 ), 110 'HIGHLIGHT_STRICT_BLOCK' => array( 111 ), 112 'TAB_WIDTH' => 4, 113 'PARSER_CONTROL' => array( 114 'ENABLE_FLAGS' => array( 115 'COMMENTS' => GESHI_NEVER, 116 'STRINGS' => GESHI_NEVER, 117 'NUMBERS' => GESHI_NEVER 118 ) 119 ) 120 ); 121 122 ?>