1<?php
2/*************************************************************************************
3 * cuesheet.php
4 * ----------
5 * Author: Benny Baumann (benbe@geshi.org)
6 * Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/)
7 * Release Version: 1.0.9.1
8 * Date Started: 2009/12/21
9 *
10 * Cuesheet language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2009/12/21 (1.0.8.6)
15 *   -  First Release
16 *
17 * TODO (updated 2009/12/21)
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
40$language_data = array (
41    'LANG_NAME' => 'Cuesheet',
42    'COMMENT_SINGLE' => array(1 => ';'),
43    'COMMENT_MULTI' => array(),
44    'COMMENT_REGEXP' => array(
45        //Single-Line Comments using REM command
46        1 => "/(?<=\bREM\b).*?$/im",
47        ),
48    'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
49    'QUOTEMARKS' => array('"'),
50    'ESCAPE_CHAR' => '',
51    'KEYWORDS' => array(
52        1 => array(
53            'CATALOG','CDTEXTFILE','FILE','FLAGS','INDEX','ISRC','PERFORMER',
54            'POSTGAP','PREGAP','REM','SONGWRITER','TITLE','TRACK'
55            ),
56        2 => array(
57            'AIFF', 'BINARY', 'MOTOROLA', 'MP3', 'WAVE'
58            ),
59        3 => array(
60            '4CH', 'DCP', 'PRE', 'SCMS'
61            ),
62        4 => array(
63            'AUDIO', 'CDG', 'MODE1/2048', 'MODE1/2336', 'MODE2/2336',
64            'MODE2/2352', 'CDI/2336', 'CDI/2352'
65            )
66        ),
67    'SYMBOLS' => array(
68        ':'
69        ),
70    'CASE_SENSITIVE' => array(
71        GESHI_COMMENTS => false,
72        1 => false,
73        2 => false,
74        3 => false,
75        4 => false
76        ),
77    'STYLES' => array(
78        'KEYWORDS' => array(
79            1 => 'color: #000000; font-weight: bold;',
80            2 => 'color: #000066; font-weight: bold;',
81            3 => 'color: #000066; font-weight: bold;',
82            4 => 'color: #000066; font-weight: bold;'
83            ),
84        'COMMENTS' => array(
85            1 => 'color: #808080;',
86            ),
87        'BRACKETS' => array(
88            0 => 'color: #0000ff;'
89            ),
90        'STRINGS' => array(
91            0 => 'color: #0000ff;'
92            ),
93        'NUMBERS' => array(
94            0 => 'color: #006600;'
95            ),
96        'METHODS' => array(
97            ),
98        'SYMBOLS' => array(
99            0 => 'color: #000066;'
100            ),
101        'ESCAPE_CHAR' => array(
102            0 => 'color: #000099;'
103            ),
104        'SCRIPT' => array(
105            ),
106        'REGEXPS' => array(
107            1 => 'color: #000099;',
108            2 => 'color: #009900;',
109            )
110        ),
111    'URLS' => array(
112        1 => 'http://digitalx.org/cuesheetsyntax.php#{FNAMEL}',
113        2 => '',
114        3 => '',
115        4 => ''
116        ),
117    'OOLANG' => false,
118    'OBJECT_SPLITTERS' => array(
119        ),
120    'REGEXPS' => array(
121        2 => '\b[A-Za-z0-9]{5}\d{7}\b',
122        1 => '(?<=[\s:]|^)\d+(?=[\s:]|$)',
123        ),
124    'STRICT_MODE_APPLIES' => GESHI_NEVER,
125    'SCRIPT_DELIMITERS' => array(
126        ),
127    'HIGHLIGHT_STRICT_BLOCK' => array(
128        ),
129    'TAB_WIDTH' => 2,
130    'PARSER_CONTROL' => array(
131        'KEYWORDS' => array(
132            'DISALLOWED_BEFORE' => '(?<![\w\.])',
133            'DISALLOWED_AFTER' => '(?![\w\.])',
134            )
135        )
136);
137