ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
mk-61.php
Go to the documentation of this file.
1<?php
2/*********************************************************************
3 * МК-61/52 language file for GeSHi.
4 *
5 * Author: Russkiy
6 * Copyright: (c) 2014 Russkiy
7 * Release Version: 1.0.9.0
8 * Date Started: 2014-03-11
9 *
10 *********************************************************************
11 *
12 * This file is part of GeSHi.
13 *
14 * GeSHi is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * GeSHi is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with GeSHi; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 *
28 ********************************************************************/
29
31 'LANG_NAME' => 'МК-61/52',
32 'COMMENT_SINGLE' => array(),
33 'COMMENT_MULTI' => array(),
34 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
35 'QUOTEMARKS' => array(),
36 'ESCAPE_CHAR' => '',
37 'KEYWORDS' => array(),
38 'SYMBOLS' => array(),
39 'CASE_SENSITIVE' => array(
40 GESHI_COMMENTS => false
41 ),
42 'STYLES' => array(
43 'KEYWORDS' => array(),
44 'COMMENTS' => array(),
45 'ESCAPE_CHAR' => array(),
46 'BRACKETS' => array(),
47 'STRINGS' => array(),
48 'NUMBERS' => array(),
49 'METHODS' => array(),
50 'SYMBOLS' => array(),
51 'SCRIPT' => array(),
52 'REGEXPS' => array(
53 1 => 'color:#000000;',
54 2 => 'color:#A0A000;',
55 3 => 'color:#00A000;',
56 4 => 'color:#A00000;',
57 5 => 'color:#0000A0;',
58 6 => 'text-decoration: underline; color: #A000A0;',
59 7 => 'font-size: 75%; color: #A0A0A0;'
60 )
61 ),
62 'URLS' => array(),
63 'OOLANG' => false,
64 'OBJECT_SPLITTERS' => array(),
65 'REGEXPS' => array(
66 1 => array(
67 GESHI_SEARCH => '(\s|\t|^|\G|\.)((F|K|К)?(пи|π|СЧ|KСЧ|КСЧ|,|\.|\/\-\/|\+\/\-|ВП))(\s|\t|$)',
68 GESHI_REPLACE => '\\4',
69 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1<span style="font-weight:lighter;font-size:90%;color:#404040;">\\3</span>', GESHI_AFTER => '\\5'
70 ),
71 2 => array(
72 GESHI_SEARCH => '(\s|\t|^|\G|\.)((F|K|К)?(НОП|&lt;\-&gt;|XY|↔|X↔Y|\^|В\^|↑|В↑|Вx|Вx|Сx|\-&gt;|↻|→))(\s|\t|$)',
73 GESHI_REPLACE => '\\4',
74 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1<span style="font-weight:lighter;font-size:90%;color:#404040;">\\3</span>', GESHI_AFTER => '\\5'
75 ),
76 3 => array(
77 GESHI_SEARCH => '(\s|\t|^|\G|\.)((K|К)?(П|XП|ИП|ПX|Пx)(\d|[A-E]|[a-e]|(А|В|С|Д|Е)))(\s|\t|$)',
78 GESHI_REPLACE => '\\2',
79 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1', GESHI_AFTER => '\\7'
80 ),
81 4 => array(
82 GESHI_SEARCH => '(\s|\t|^|\G|\.)((F|K|К)?(10\^x|10x|e\^x|ex|lg|ln|ЧМ|arcsin|<PIPE>x<PIPE>|arccos|ЗН|arctg|ГМ|sin|\[x\]|cos|\{x\}|\‍(x\‍)|tg|max|\+|\-|\*|x|х|×|⋅|\/|\:|÷|МГ|КвКор|квкор|корень|√|x\^2|x2|x²|1\/x|x\^y|xy|МЧ|\x2F\x5C|⋀|\x5C\x2F|⋁|\‍(\+\‍)|⊕|ИНВ))(\s|\t|$)',
83 GESHI_REPLACE => '\\4',
84 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1<span style="font-weight:lighter;font-size:90%;color:#404040;">\\3</span>', GESHI_AFTER => '\\5'
85 ),
86 5 => array(
87 GESHI_SEARCH => '(\s|\t|^|\G|\.)((F?)((K|К)?(В\/О|В\/0|С\/П|x&gt;\=0|x≥0|x≥0|x⩾0|x\#0|x\!\=0|x&lt;&gt;0|x≠0|БП|ПП|L2|L3|x&lt;0|x\=0|L0|L1)))(\s|\t|$)',
88 GESHI_REPLACE => '\\4',
89 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1<span style="font-weight:lighter;font-size:90%;color:#404040;">\\3</span>', GESHI_AFTER => '\\7'
90 ),
91 6 => array(
92 GESHI_SEARCH => '(\s|\t|^|\G|\.)(\d{2})(\s|\t|$)',
93 GESHI_REPLACE => '\\2',
94 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1', GESHI_AFTER => '\\3'
95 ),
96 7 => array(
97 GESHI_SEARCH => '(\s|\t|^|\G|\.)([\d\-A]\d\.)',
98 GESHI_REPLACE => '\\2',
99 GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1', GESHI_AFTER => ''
100 )
101 ),
102 'STRICT_MODE_APPLIES' => GESHI_NEVER,
103 'SCRIPT_DELIMITERS' => array(),
104 'HIGHLIGHT_STRICT_BLOCK' => array(),
105 'PARSER_CONTROL' => array()
106);
An exception for terminatinating execution or to throw for unit testing.
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:94
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
Definition: geshi.php:140
const GESHI_SEARCH
The key of the regex array defining what to search for.
Definition: geshi.php:132
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...
Definition: geshi.php:143
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement.
Definition: geshi.php:135
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
const GESHI_NEVER
#+ @access private
Definition: geshi.php:123
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.
Definition: geshi.php:137
$language_data
Definition: mk-61.php:30