PageRenderTime 427ms CodeModel.GetById 420ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre4/modes/modula3.xml

#
XML | 178 lines | 173 code | 3 blank | 2 comment | 0 complexity | c5d1f226bce42fb5ab86269ee12b4b64 MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- Modula-3 mode, by Marcio Marchini mqm@magma.ca -->
  6<!-- See http://www.research.compaq.com/SRC/m3defn/html/syntax.html -->
  7
  8<MODE>
  9	<PROPS>
 10		<PROPERTY NAME="commentStart" VALUE="(*" />
 11		<PROPERTY NAME="commentEnd" VALUE="*)" />
 12	</PROPS>
 13	<RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
 14		<!-- Comment -->
 15		<!-- Compiler directives. -->
 16		<SPAN TYPE="COMMENT2">
 17			<BEGIN>&lt;*</BEGIN>
 18			<END>*&gt;</END>
 19		</SPAN>
 20		
 21		<SPAN TYPE="COMMENT1">
 22			<BEGIN>(*</BEGIN>
 23			<END>*)</END>
 24		</SPAN>
 25
 26		<!-- Standard literals -->
 27		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 28			<BEGIN>"</BEGIN>
 29			<END>"</END>
 30		</SPAN>
 31		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 32			<BEGIN>'</BEGIN>
 33			<END>'</END>
 34		</SPAN>
 35
 36		<SEQ TYPE="OPERATOR">^</SEQ>
 37		<SEQ TYPE="OPERATOR">@</SEQ>
 38		<SEQ TYPE="OPERATOR">:=</SEQ>
 39		<SEQ TYPE="OPERATOR">=</SEQ>
 40		<SEQ TYPE="OPERATOR">&lt;&gt;</SEQ>
 41		<SEQ TYPE="OPERATOR">&gt;=</SEQ>
 42		<SEQ TYPE="OPERATOR">&lt;=</SEQ>
 43		<SEQ TYPE="OPERATOR">&gt;</SEQ>
 44		<SEQ TYPE="OPERATOR">&lt;</SEQ>
 45		<SEQ TYPE="OPERATOR">+</SEQ>
 46		<SEQ TYPE="OPERATOR">-</SEQ>
 47		<SEQ TYPE="OPERATOR">/</SEQ>
 48		<SEQ TYPE="OPERATOR">*</SEQ>
 49
 50		<KEYWORDS>
 51			<KEYWORD1>AND</KEYWORD1>
 52			<KEYWORD1>DO</KEYWORD1>
 53			<KEYWORD1>FROM</KEYWORD1>
 54			<KEYWORD1>NOT</KEYWORD1>
 55			<KEYWORD1>REPEAT</KEYWORD1>
 56			<KEYWORD1>UNTIL</KEYWORD1>
 57			<KEYWORD1>ANY</KEYWORD1>
 58			<KEYWORD1>ELSE</KEYWORD1>
 59			<KEYWORD1>GENERIC</KEYWORD1>
 60			<KEYWORD1>OBJECT</KEYWORD1>
 61			<KEYWORD1>RETURN</KEYWORD1>
 62			<KEYWORD1>UNTRACED</KEYWORD1>
 63			<KEYWORD1>ARRAY</KEYWORD1>
 64			<KEYWORD1>ELSIF</KEYWORD1>
 65			<KEYWORD1>IF</KEYWORD1>
 66			<KEYWORD1>OF</KEYWORD1>
 67			<KEYWORD1>REVEAL</KEYWORD1>
 68			<KEYWORD1>VALUE</KEYWORD1>
 69			<KEYWORD1>AS</KEYWORD1>
 70			<KEYWORD1>END</KEYWORD1>
 71			<KEYWORD1>IMPORT</KEYWORD1>
 72			<KEYWORD1>OR</KEYWORD1>
 73			<KEYWORD1>ROOT</KEYWORD1>
 74			<KEYWORD1>VAR</KEYWORD1>
 75			<KEYWORD1>BEGIN</KEYWORD1>
 76			<KEYWORD1>EVAL</KEYWORD1>
 77			<KEYWORD1>IN</KEYWORD1>
 78			<KEYWORD1>OVERRIDES</KEYWORD1>
 79			<KEYWORD1>SET</KEYWORD1>
 80			<KEYWORD1>WHILE</KEYWORD1>
 81			<KEYWORD1>BITS</KEYWORD1>
 82			<KEYWORD1>EXCEPT</KEYWORD1>
 83			<KEYWORD1>INTERFACE</KEYWORD1>
 84			<KEYWORD1>PROCEDURE</KEYWORD1>
 85			<KEYWORD1>THEN</KEYWORD1>
 86			<KEYWORD1>WITH</KEYWORD1>
 87			<KEYWORD1>BRANDED</KEYWORD1>
 88			<KEYWORD1>EXCEPTION</KEYWORD1>
 89			<KEYWORD1>LOCK</KEYWORD1>
 90			<KEYWORD1>RAISE</KEYWORD1>
 91			<KEYWORD1>TO</KEYWORD1>
 92			<KEYWORD1>BY</KEYWORD1>
 93			<KEYWORD1>EXIT</KEYWORD1>
 94			<KEYWORD1>LOOP</KEYWORD1>
 95			<KEYWORD1>RAISES</KEYWORD1>
 96			<KEYWORD1>TRY</KEYWORD1>
 97			<KEYWORD1>CASE</KEYWORD1>
 98			<KEYWORD1>EXPORTS</KEYWORD1>
 99			<KEYWORD1>METHODS</KEYWORD1>
100			<KEYWORD1>READONLY</KEYWORD1>
101			<KEYWORD1>TYPE</KEYWORD1>
102			<KEYWORD1>CONST</KEYWORD1>
103			<KEYWORD1>FINALLY</KEYWORD1>
104			<KEYWORD1>MOD</KEYWORD1>
105			<KEYWORD1>RECORD</KEYWORD1>
106			<KEYWORD1>TYPECASE</KEYWORD1>
107			<KEYWORD1>DIV</KEYWORD1>
108			<KEYWORD1>FOR</KEYWORD1>
109			<KEYWORD1>MODULE</KEYWORD1>
110			<KEYWORD1>REF</KEYWORD1>
111			<KEYWORD1>UNSAFE</KEYWORD1>
112
113			<!-- Reserved identifiers -->
114			<LITERAL2>ABS</LITERAL2>
115			<LITERAL2>BYTESIZE</LITERAL2>
116			<LITERAL2>EXTENDED</LITERAL2>
117			<LITERAL2>INTEGER</LITERAL2>
118			<LITERAL2>MIN</LITERAL2>
119			<LITERAL2>NUMBER</LITERAL2>
120			<LITERAL2>TEXT</LITERAL2>
121			<LITERAL2>ADDRESS</LITERAL2>
122			<LITERAL2>CARDINAL</LITERAL2>
123			<LITERAL2>FALSE</LITERAL2>
124			<LITERAL2>ISTYPE</LITERAL2>
125			<LITERAL2>MUTEX</LITERAL2>
126			<LITERAL2>ORD</LITERAL2>
127			<LITERAL2>TRUE</LITERAL2>
128			<LITERAL2>ADR</LITERAL2>
129			<LITERAL2>CEILING</LITERAL2>
130			<LITERAL2>FIRST</LITERAL2>
131			<LITERAL2>LAST</LITERAL2>
132			<LITERAL2>NARROW</LITERAL2>
133			<LITERAL2>REAL</LITERAL2>
134			<LITERAL2>TRUNC</LITERAL2>
135			<LITERAL2>ADRSIZE</LITERAL2>
136			<LITERAL2>CHAR</LITERAL2>
137			<LITERAL2>FLOAT</LITERAL2>
138			<LITERAL2>LONGREAL</LITERAL2>
139			<LITERAL2>NEW</LITERAL2>
140			<LITERAL2>REFANY</LITERAL2>
141			<LITERAL2>TYPECODE</LITERAL2>
142			<LITERAL2>BITSIZE</LITERAL2>
143			<LITERAL2>DEC</LITERAL2>
144			<LITERAL2>FLOOR</LITERAL2>
145			<LITERAL2>LOOPHOLE</LITERAL2>
146			<LITERAL2>NIL</LITERAL2>
147			<LITERAL2>ROUND</LITERAL2>
148			<LITERAL2>VAL</LITERAL2>
149			<LITERAL2>BOOLEAN</LITERAL2>
150			<LITERAL2>DISPOSE</LITERAL2>
151			<LITERAL2>INC</LITERAL2>
152			<LITERAL2>MAX</LITERAL2>
153			<LITERAL2>NULL</LITERAL2>
154			<LITERAL2>SUBARRAY</LITERAL2>
155			
156			<!-- Standard interfaces -->
157			<!--  http://www.research.compaq.com/SRC/m3defn/html/intfs.html -->
158			<KEYWORD2>Text</KEYWORD2>
159			<KEYWORD2>Thread</KEYWORD2>
160			<KEYWORD2>Word</KEYWORD2>
161			<KEYWORD2>Real</KEYWORD2>
162			<KEYWORD2>LongReal</KEYWORD2>
163			<KEYWORD2>ExtendedReal</KEYWORD2>
164			<KEYWORD2>RealFloat</KEYWORD2>
165			<KEYWORD2>LongFloat</KEYWORD2>
166			<KEYWORD2>ExtendedFloat</KEYWORD2>
167			<KEYWORD2>FloatMode</KEYWORD2>
168
169			<!-- Recommended interfaces -->
170			<!--  http://www.research.compaq.com/SRC/m3defn/html/intfs.html -->
171			<KEYWORD3>Fmt</KEYWORD3>
172			<KEYWORD3>Lex</KEYWORD3>
173			<KEYWORD3>Pickle</KEYWORD3>
174			<KEYWORD3>Table</KEYWORD3>
175			
176		</KEYWORDS>
177	</RULES>
178</MODE>