Merging the updates from the GeSHi vendor to the trunk
[viewsvn.git] / includes / geshi / geshi / bnf.php
1 <?php
2 /*************************************************************************************
3 * bnf.php
4 * --------
5 * Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
6 * Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
7 * Release Version: 1.0.7.19
8 * Date Started: 2006/09/28
9 *
10 * BNF (Backus-Naur form) language file for GeSHi.
11 *
12 * See http://en.wikipedia.org/wiki/Backus-Naur_form for more info on BNF.
13 *
14 * CHANGES
15 * -------
16 * 2006/09/18 (1.0.0)
17 * - First Release
18 *
19 * TODO (updated 2006/09/18)
20 * -------------------------
21 * * Nothing I can think of
22 *
23 *************************************************************************************
24 *
25 * This file is part of GeSHi.
26 *
27 * GeSHi is free software; you can redistribute it and/or modify
28 * it under the terms of the GNU General Public License as published by
29 * the Free Software Foundation; either version 2 of the License, or
30 * (at your option) any later version.
31 *
32 * GeSHi is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 * GNU General Public License for more details.
36 *
37 * You should have received a copy of the GNU General Public License
38 * along with GeSHi; if not, write to the Free Software
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 *
41 ************************************************************************************/
42
43 $language_data = array (
44 'LANG_NAME' => 'bnf',
45 'COMMENT_SINGLE' => array(),
46 'COMMENT_MULTI' => array(),
47 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48 'QUOTEMARKS' => array('"', "'"),
49 'ESCAPE_CHAR' => '',
50 'KEYWORDS' => array(),
51 'SYMBOLS' => array(
52 '<', '>', '::=', '|'
53 ),
54 'CASE_SENSITIVE' => array(
55 //GESHI_COMMENTS => false
56 ),
57 'STYLES' => array(
58 'KEYWORDS' => array(),
59 'COMMENTS' => array(
60 ),
61 'ESCAPE_CHAR' => array(
62 0 => ''
63 ),
64 'BRACKETS' => array(
65 0 => ''
66 ),
67 'STRINGS' => array(
68 0 => 'color: #a00;',
69 1 => 'color: #a00;'
70 ),
71 'NUMBERS' => array(
72 0 => ''
73 ),
74 'METHODS' => array(
75 0 => ''
76 ),
77 'SYMBOLS' => array(
78 0 => 'color: #000066; font-weight: bold;', // Unused
79 ),
80 'REGEXPS' => array(
81 0 => 'color: #007;',
82 1 => 'color: #099;',
83 2 => 'color: #060;',
84 3 => 'color: #909;'
85 ),
86 'SCRIPT' => array(
87 0 => ''
88 )
89 ),
90 'URLS' => array(),
91 'OOLANG' => false,
92 'OBJECT_SPLITTERS' => array(),
93 'REGEXPS' => array(
94 0 => array(
95 GESHI_SEARCH => '(&lt;)([^&]+?)(&gt;)',
96 GESHI_REPLACE => '\\2',
97 GESHI_MODIFIERS => '',
98 GESHI_BEFORE => '\\1',
99 GESHI_AFTER => '\\3'
100 ),
101 1 => array(
102 GESHI_SEARCH => '(&lt;|&gt;)',
103 GESHI_REPLACE => '\\1',
104 GESHI_MODIFIERS => '',
105 GESHI_BEFORE => '',
106 GESHI_AFTER => ''
107 ),
108 2 => array(
109 GESHI_SEARCH => '(::=)',
110 GESHI_REPLACE => '\\1',
111 GESHI_MODIFIERS => '',
112 GESHI_BEFORE => '',
113 GESHI_AFTER => ''
114 ),
115 3 => array(
116 GESHI_SEARCH => '([()])',
117 GESHI_REPLACE => '\\1',
118 GESHI_MODIFIERS => '',
119 GESHI_BEFORE => '',
120 GESHI_AFTER => ''
121 ),
122 ),
123 'STRICT_MODE_APPLIES' => GESHI_NEVER,
124 'SCRIPT_DELIMITERS' => array(
125 ),
126 'HIGHLIGHT_STRICT_BLOCK' => array(
127 )
128 );
129
130 ?>