jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [lolcode.php] - Blame information for rev 6

 

Line No. Rev Author Line
15simandl<?php
2/*************************************************************************************
3 * lolcode.php
4 * ----------
5 * Author: Benny Baumann (BenBE@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 * LOLcode 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' => 'LOLcode',
41 'COMMENT_SINGLE' => array(),
42 'COMMENT_MULTI' => array(),
43 'COMMENT_REGEXP' => array(
44 1 => "/\bBTW\b.*$/im",
45 2 => "/(^|\b)(?:OBTW\b.+?\bTLDR|LOL\b.+?\/LOL)(\b|$)/si"
46 ),
47 'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
48 'QUOTEMARKS' => array('"'),
49 'ESCAPE_CHAR' => '',
50 'ESCAPE_REGEXP' => array(
51 1 => '/:[)>o":]/',
52 2 => '/:\([\da-f]+\)/i',
53 3 => '/:\{\w+\}/i',
54 4 => '/:\[\w+\]/i',
55 ),
56 'KEYWORDS' => array(
57 //Statements
58 1 => array(
59 'VISIBLE', 'HAI', 'KTHX', 'KTHXBYE', 'SMOOSH', 'GIMMEH', 'PLZ',
60 'ON', 'INVISIBLE', 'R', 'ITZ', 'GTFO', 'COMPLAIN', 'GIMME',
61 
62 'OPEN', 'FILE', 'I HAS A', 'AWSUM THX', 'O NOES', 'CAN', 'HAS', 'HAZ',
63 'HOW DOES I', 'IF U SAY SO', 'FOUND YR', 'BORROW', 'OWN', 'ALONG',
64 'WITH', 'WIT', 'LOOK', 'AT', 'AWSUM', 'THX'
65 ),
66 //Conditionals
67 2 => array(
68 'IZ', 'YARLY', 'NOWAI', 'WTF?', 'MEBBE', 'OMG', 'OMGWTF',
69 'ORLY?', 'OF', 'NOPE', 'SO', 'IM', 'MAI',
70 
71 'O RLY?', 'SUM', 'BOTH SAEM', 'DIFFRINT', 'BOTH', 'EITHER', 'WON',
72 'DIFF', 'PRODUKT', 'QUOSHUNT', 'MOD', 'MKAY', 'OK', 'THING',
73 'BIGNESS'
74 ),
75 //Repetition
76 3 => array(
77 'IN', 'OUTTA', 'LOOP', 'WHILE'
78 ),
79 //Operators \Math
80 4 => array(
81 'AN', 'AND', 'NOT', 'UP', 'YR', 'UPPIN', 'NERF', 'NERFIN', 'NERFZ',
82 'SMASHING', 'UR', 'KINDA', 'LIKE', 'SAEM', 'BIG', 'SMALL',
83 'BIGGR', 'SMALLR', 'BIGGER', 'SMALLER', 'GOOD', 'CUTE', 'THAN'
84 )
85 ),
86 'SYMBOLS' => array(
87 '.', ',', '?',
88 '!!'
89 ),
90 'CASE_SENSITIVE' => array(
91 GESHI_COMMENTS => false,
92 1 => false,
93 2 => false,
94 3 => false,
95 4 => false
96 ),
97 'STYLES' => array(
98 'KEYWORDS' => array(
99 1 => 'color: #008000;',
100 2 => 'color: #000080;',
101 3 => 'color: #000080;',
102 4 => 'color: #800000;'
103 ),
104 'COMMENTS' => array(
105 1 => 'color: #666666; style: italic;',
106 2 => 'color: #666666; style: italic;'
107 ),
108 'BRACKETS' => array(
109 
110 ),
111 'STRINGS' => array(
112 
113 ),
114 'NUMBERS' => array(
115 ),
116 'METHODS' => array(
117 ),
118 'SYMBOLS' => array(
119 
120 ),
121 'ESCAPE_CHAR' => array(
122 ),
123 'SCRIPT' => array(
124 ),
125 'REGEXPS' => array(
126 )
127 ),
128 'URLS' => array(
129 1 => '',
130 2 => '',
131 3 => '',
132 4 => ''
133 ),
134 'OOLANG' => false,
135 'OBJECT_SPLITTERS' => array(
136 ),
137 'REGEXPS' => array(
138 ),
139 'STRICT_MODE_APPLIES' => GESHI_NEVER,
140 'SCRIPT_DELIMITERS' => array(
141 ),
142 'HIGHLIGHT_STRICT_BLOCK' => array(
143 ),
144 'PARSER_CONTROL' => array(
145 'KEYWORDS' => array(
146 'SPACE_AS_WHITESPACE' => true
147 )
148 ),
149 'TAB_WIDTH' => 4
150);
151 
152?>

Powered by WebSVN 2.2.1