1 | 5 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * modula3.php |
4 | | | * ---------- |
5 | | | * Author: mbishop (mbishop@esoteriq.org) |
6 | | | * Copyright: (c) 2009 mbishop (mbishop@esoteriq.org) |
7 | | | * Release Version: 1.0.8.3 |
8 | | | * Date Started: 2009/01/21 |
9 | | | * |
10 | | | * Modula-3 language file for GeSHi. |
11 | | | * |
12 | | | * CHANGES |
13 | | | * ------- |
14 | | | * |
15 | | | * TODO |
16 | | | * ------------------------- |
17 | | | * |
18 | | | ************************************************************************************* |
19 | | | * |
20 | | | * This file is part of GeSHi. |
21 | | | * |
22 | | | * GeSHi is free software; you can redistribute it and/or modify |
23 | | | * it under the terms of the GNU General Public License as published by |
24 | | | * the Free Software Foundation; either version 2 of the License, or |
25 | | | * (at your option) any later version. |
26 | | | * |
27 | | | * GeSHi is distributed in the hope that it will be useful, |
28 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
29 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
30 | | | * GNU General Public License for more details. |
31 | | | * |
32 | | | * You should have received a copy of the GNU General Public License |
33 | | | * along with GeSHi; if not, write to the Free Software |
34 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
35 | | | * |
36 | | | ************************************************************************************/ |
37 | | | |
38 | | | $language_data = array ( |
39 | | | 'LANG_NAME' => 'Modula-3', |
40 | | | 'COMMENT_SINGLE' => array(), |
41 | | | 'COMMENT_MULTI' => array('(*' => '*)'), |
42 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
43 | | | 'QUOTEMARKS' => array('"'), |
44 | | | 'HARDQUOTE' => array("'", "'"), |
45 | | | 'HARDESCAPE' => array("''"), |
46 | | | 'ESCAPE_CHAR' => '\\', |
47 | | | 'KEYWORDS' => array( |
48 | | | 1 => array( |
49 | | | 'AND', 'ANY', 'ARRAY', 'AS', 'BEGIN', 'BITS', 'BRANDED', 'BY', 'CASE', |
50 | | | 'CONST', 'DIV', 'DO', 'ELSE', 'ELSIF', 'END', 'EVAL', 'EXCEPT', 'EXCEPTION', |
51 | | | 'EXIT', 'EXPORTS', 'FINALLY', 'FOR', 'FROM', 'GENERIC', 'IF', 'IMPORT', 'IN', |
52 | | | 'INTERFACE', 'LOCK', 'LOOP', 'METHODS', 'MOD', 'MODULE', 'NOT', 'OBJECT', 'OF', |
53 | | | 'OR', 'OVERRIDE', 'PROCEDURE', 'RAISE', 'RAISES', 'READONLY', 'RECORD', 'REF', |
54 | | | 'REPEAT', 'RETURN', 'REVEAL', 'ROOT', 'SET', 'THEN', 'TO', 'TRY', 'TYPE', 'TYPECASE', |
55 | | | 'UNSAFE', 'UNTIL', 'UNTRACED', 'VALUE', 'VAR', 'WHILE', 'WITH' |
56 | | | ), |
57 | | | 2 => array( |
58 | | | 'NIL', 'NULL', 'FALSE', 'TRUE', |
59 | | | ), |
60 | | | 3 => array( |
61 | | | 'ABS','ADR','ADRSIZE','BITSIZE','BYTESIZE','CEILING','DEC','DISPOSE', |
62 | | | 'EXTENDED','FIRST','FLOAT','FLOOR','INC','ISTYPE','LAST','LOOPHOLE','MAX','MIN', |
63 | | | 'NARROW','NEW','NUMBER','ORD','ROUND','SUBARRAY','TRUNC','TYPECODE', 'VAL' |
64 | | | ), |
65 | | | 4 => array( |
66 | | | 'ADDRESS', 'BOOLEAN', 'CARDINAL', 'CHAR', 'INTEGER', |
67 | | | 'LONGREAL', 'MUTEX', 'REAL', 'REFANY', 'TEXT' |
68 | | | ), |
69 | | | ), |
70 | | | 'SYMBOLS' => array( |
71 | | | ',', ':', '=', '+', '-', '*', '/', '#' |
72 | | | ), |
73 | | | 'CASE_SENSITIVE' => array( |
74 | | | GESHI_COMMENTS => false, |
75 | | | 1 => true, |
76 | | | 2 => true, |
77 | | | 3 => true, |
78 | | | 4 => true, |
79 | | | ), |
80 | | | 'STYLES' => array( |
81 | | | 'KEYWORDS' => array( |
82 | | | 1 => 'color: #000000; font-weight: bold;', |
83 | | | 2 => 'color: #000000; font-weight: bold;', |
84 | | | 3 => 'color: #000066;', |
85 | | | 4 => 'color: #000066; font-weight: bold;' |
86 | | | ), |
87 | | | 'COMMENTS' => array( |
88 | | | 'MULTI' => 'color: #666666; font-style: italic;' |
89 | | | ), |
90 | | | 'ESCAPE_CHAR' => array( |
91 | | | |
92 | | | 'HARD' => 'color: #000099; font-weight: bold;' |
93 | | | ), |
94 | | | 'BRACKETS' => array( |
95 | | | |
96 | | | ), |
97 | | | 'STRINGS' => array( |
98 | | | |
99 | | | 'HARD' => 'color: #ff0000;' |
100 | | | ), |
101 | | | 'NUMBERS' => array( |
102 | | | |
103 | | | ), |
104 | | | 'METHODS' => array( |
105 | | | 1 => 'color: #0066ee;' |
106 | | | ), |
107 | | | 'SYMBOLS' => array( |
108 | | | |
109 | | | ), |
110 | | | 'REGEXPS' => array( |
111 | | | ), |
112 | | | 'SCRIPT' => array( |
113 | | | ) |
114 | | | ), |
115 | | | 'URLS' => array( |
116 | | | 1 => '', |
117 | | | 2 => '', |
118 | | | 3 => '', |
119 | | | 4 => '' |
120 | | | ), |
121 | | | 'OOLANG' => true, |
122 | | | 'OBJECT_SPLITTERS' => array( |
123 | | | 1 => '.' |
124 | | | ), |
125 | | | 'REGEXPS' => array( |
126 | | | ), |
127 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
128 | | | 'SCRIPT_DELIMITERS' => array( |
129 | | | ), |
130 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
131 | | | ), |
132 | | | 'TAB_WIDTH' => 4 |
133 | | | ); |
134 | | | |
135 | | | ?> |