remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / xmode / modes / antlr.xml
blob1e5dd1206a7a6015365b071f0bcdb239f8e7a46e
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE MODE SYSTEM "xmode.dtd">\r
3 \r
4 <!--\r
5         This mode file describes the ANTLR syntax definition language.\r
6         It is derived from and tested with the ANTLR syntax rules specified in\r
7         antlr.g included with the ANTLR distribution.\r
8         \r
9         Portions of this file from java.xml.\r
10         \r
11         Author: Brant Gurganus <brantgurga@users.sourceforge.net>\r
12 -->\r
13 <MODE>\r
14         <PROPS>\r
15                 <PROPERTY NAME="commentStart" VALUE="/*" />\r
16                 <PROPERTY NAME="commentEnd" VALUE="*/" />\r
17                 <PROPERTY NAME="lineComment" VALUE="//" />\r
18                 <PROPERTY NAME="wordBreakChars" VALUE="" />\r
19         </PROPS>\r
20         <RULES>\r
21                 <SPAN TYPE="COMMENT2" DELEGATE="java::JAVADOC">\r
22                         <BEGIN>/**</BEGIN>\r
23                         <END>*/</END>\r
24                 </SPAN>\r
25                 <SPAN TYPE="COMMENT1">\r
26                         <BEGIN>/*</BEGIN>\r
27                         <END>*/</END>\r
28                 </SPAN>\r
29                 <EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>\r
30                 <SPAN TYPE="LITERAL1">\r
31                         <BEGIN>"</BEGIN>\r
32                         <END>"</END>\r
33                 </SPAN>\r
34                 <SEQ TYPE="OPERATOR">|</SEQ>\r
35                 <SEQ TYPE="OPERATOR">:</SEQ>\r
36                 <KEYWORDS>\r
37                         <KEYWORD3>header</KEYWORD3>\r
38                         <KEYWORD3>options</KEYWORD3>\r
39                         <KEYWORD3>tokens</KEYWORD3>\r
40                         <KEYWORD1>abstract</KEYWORD1>\r
41                         <KEYWORD1>break</KEYWORD1>\r
42                         <KEYWORD1>case</KEYWORD1>\r
43                         <KEYWORD1>catch</KEYWORD1>\r
44                         <KEYWORD1>continue</KEYWORD1>\r
45                         <KEYWORD1>default</KEYWORD1>\r
46                         <KEYWORD1>do</KEYWORD1>\r
47                         <KEYWORD1>else</KEYWORD1>\r
48                         <KEYWORD1>extends</KEYWORD1>\r
49                         <KEYWORD1>final</KEYWORD1>\r
50                         <KEYWORD1>finally</KEYWORD1>\r
51                         <KEYWORD1>for</KEYWORD1>\r
52                         <KEYWORD1>if</KEYWORD1>\r
53                         <KEYWORD1>implements</KEYWORD1>\r
54                         <KEYWORD1>instanceof</KEYWORD1>\r
55                         <KEYWORD1>native</KEYWORD1>\r
56                         <KEYWORD1>new</KEYWORD1>\r
57                         <KEYWORD1>private</KEYWORD1>\r
58                         <KEYWORD1>protected</KEYWORD1>\r
59                         <KEYWORD1>public</KEYWORD1>\r
60                         <KEYWORD1>return</KEYWORD1>\r
61                         <KEYWORD1>static</KEYWORD1>\r
62                         <KEYWORD1>switch</KEYWORD1>\r
63                         <KEYWORD1>synchronized</KEYWORD1>\r
64                         <KEYWORD1>throw</KEYWORD1>\r
65                         <KEYWORD1>throws</KEYWORD1>\r
66                         <KEYWORD1>transient</KEYWORD1>\r
67                         <KEYWORD1>try</KEYWORD1>\r
68                         <KEYWORD1>volatile</KEYWORD1>\r
69                         <KEYWORD1>while</KEYWORD1>\r
70                         <KEYWORD1>package</KEYWORD1>\r
71                         <KEYWORD1>import</KEYWORD1>\r
73                         <KEYWORD2>boolean</KEYWORD2>\r
74                         <KEYWORD2>byte</KEYWORD2>\r
75                         <KEYWORD2>char</KEYWORD2>\r
76                         <KEYWORD2>class</KEYWORD2>\r
77                         <KEYWORD2>double</KEYWORD2>\r
78                         <KEYWORD2>float</KEYWORD2>\r
79                         <KEYWORD2>int</KEYWORD2>\r
80                         <KEYWORD2>interface</KEYWORD2>\r
81                         <KEYWORD2>long</KEYWORD2>\r
82                         <KEYWORD2>short</KEYWORD2>\r
83                         <KEYWORD2>void</KEYWORD2>\r
85                         <FUNCTION>assert</FUNCTION>\r
86                         <KEYWORD1>strictfp</KEYWORD1>\r
88                         <LITERAL2>false</LITERAL2>\r
89                         <LITERAL2>null</LITERAL2>\r
90                         <LITERAL2>super</LITERAL2>\r
91                         <LITERAL2>this</LITERAL2>\r
92                         <LITERAL2>true</LITERAL2>\r
94                         <INVALID>goto</INVALID>\r
95                         <INVALID>const</INVALID>\r
96                 </KEYWORDS>\r
97         </RULES>\r
98 </MODE>\r