2 /*************************************************************************************
5 * Author: Benny Baumann (BenBE@geshi.org)
6 * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
7 * Release Version: 1.0.8.11
8 * Date Started: 2009/10/31
10 * Brainfuck language file for GeSHi.
14 * 2008/10/31 (1.0.8.1)
20 *************************************************************************************
22 * This file is part of GeSHi.
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.
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.
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
38 ************************************************************************************/
39 $language_data = array (
40 'LANG_NAME' => 'Brainfuck',
41 'COMMENT_SINGLE' => array(),
42 'COMMENT_MULTI' => array(),
43 'COMMENT_REGEXP' => array(1 => '/[^\n+\-<>\[\]\.\,Y]+/s'),
44 'CASE_KEYWORDS' => GESHI_CAPS_UPPER
,
45 'QUOTEMARKS' => array(),
54 4 => array('Y') //Brainfork Extension ;-)
56 'CASE_SENSITIVE' => array(
57 GESHI_COMMENTS
=> false,
63 1 => 'color: #666666; font-style: italic;'
66 0 => 'color: #660000;'
69 0 => 'color: #ff0000;'
76 0 => 'color: #006600;',
77 1 => 'color: #660000;',
78 2 => 'color: #000066;',
79 3 => 'color: #666600;',
80 4 => 'color: #660066;'
82 'ESCAPE_CHAR' => array(
92 'OBJECT_SPLITTERS' => array(
96 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
97 'SCRIPT_DELIMITERS' => array(
99 'HIGHLIGHT_STRICT_BLOCK' => array(
102 'PARSER_CONTROL' => array(
103 'ENABLE_FLAGS' => array(
104 'STRINGS' => GESHI_NEVER
,
105 'NUMBERS' => GESHI_NEVER
,
106 'BRACKETS' => GESHI_NEVER
109 'DISALLOW_BEFORE' => '',
110 'DISALLOW_AFTER' => ''