]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/matita.lang
removed dead code (thanks to ocaml 3.09)
[helm.git] / helm / matita / matita.lang
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE language SYSTEM "language.dtd">
3 <language _name="grafite" version="1.0" _section="Sources" mimetypes="text/x-matita">
4
5   <escape-char>\</escape-char>
6
7   <block-comment _name = "Block Comment" style = "Comment">
8     <start-regex>\(\*</start-regex>
9     <end-regex>\*\)</end-regex>
10   </block-comment>
11   
12   <block-comment _name = "Commented Code" style = "Comment">
13     <start-regex>\(\*\*</start-regex>
14     <end-regex>\*\*\)</end-regex>
15   </block-comment>
16
17   <keyword-list _name = "Theorem Kinds" style = "Keyword" case-sensitive="TRUE">
18     <keyword>theorem</keyword>
19     <keyword>definition</keyword>
20     <keyword>lemma</keyword>
21     <keyword>fact</keyword>
22     <keyword>remark</keyword>
23     <keyword>variant</keyword>
24   </keyword-list>
25     
26   <keyword-list _name = "Commands" style = "Keyword" case-sensitive="TRUE">
27     <keyword>alias</keyword>
28     <keyword>and</keyword>
29     <keyword>as</keyword>
30     <keyword>coercion</keyword>
31     <keyword>coinductive</keyword>
32     <keyword>corec</keyword>
33     <keyword>default</keyword>
34     <keyword>for</keyword>
35     <keyword>include</keyword>
36     <keyword>inductive</keyword>
37     <keyword>in</keyword>
38     <keyword>interpretation</keyword>
39     <keyword>let</keyword>
40     <keyword>match</keyword>
41     <keyword>names</keyword>
42     <keyword>notation</keyword>
43     <keyword>on</keyword>
44     <keyword>qed</keyword>
45     <keyword>rec</keyword>
46     <keyword>record</keyword>
47     <keyword>return</keyword>
48     <keyword>to</keyword>
49     <keyword>using</keyword>
50     <keyword>with</keyword>
51   </keyword-list>
52
53   <pattern-item _name = "Command [" style = "Keyword">
54     <regex>\[</regex>
55   </pattern-item>
56   <pattern-item _name = "Command |" style = "Keyword">
57     <regex>\|</regex>
58   </pattern-item>
59   <pattern-item _name = "Command ]" style = "Keyword">
60     <regex>\]</regex>
61   </pattern-item>
62   <pattern-item _name = "Command {" style = "Keyword">
63     <regex>\{</regex>
64   </pattern-item>
65   <pattern-item _name = "Command }" style = "Keyword">
66     <regex>\}</regex>
67   </pattern-item>
68   <pattern-item _name = "Notation ast mark" style = "Keyword">
69     <regex>@</regex>
70   </pattern-item>
71   <pattern-item _name = "Notation meta mark" style = "Keyword">
72     <regex>\$</regex>
73   </pattern-item>
74
75   <keyword-list _name = "Sorts" style = "Data Type" case-sensitive="TRUE">
76     <keyword>Set</keyword>
77     <keyword>Prop</keyword>
78     <keyword>Type</keyword>
79   </keyword-list>
80
81   <keyword-list _name = "Tactics" style = "Others 2" case-sensitive="TRUE">
82     <keyword>absurd</keyword>
83     <keyword>apply</keyword>
84     <keyword>assumption</keyword>
85     <keyword>auto</keyword>
86     <keyword>paramodulation</keyword>
87     <keyword>clear</keyword>
88     <keyword>clearbody</keyword>
89     <keyword>change</keyword>
90     <keyword>compare</keyword>
91     <keyword>constructor</keyword>
92     <keyword>contradiction</keyword>
93     <keyword>cut</keyword>
94     <keyword>decide</keyword> <keyword>equality</keyword> <!-- CSC: ??? -->
95     <keyword>decompose</keyword>
96     <keyword>discriminate</keyword>
97     <keyword>elim</keyword>
98     <keyword>elimType</keyword>
99     <keyword>exact</keyword>
100     <keyword>exists</keyword>
101     <keyword>fail</keyword>
102     <keyword>fold</keyword>
103     <keyword>fourier</keyword>
104     <keyword>fwd</keyword>
105     <keyword>generalize</keyword>
106     <keyword>goal</keyword>
107     <keyword>id</keyword>
108     <keyword>injection</keyword>
109     <keyword>intro</keyword>
110     <keyword>intros</keyword>
111     <keyword>lapply</keyword>
112     <keyword>left</keyword>
113     <keyword>letin</keyword>
114     <keyword>normalize</keyword>
115     <keyword>reduce</keyword>
116     <keyword>reflexivity</keyword>
117     <keyword>replace</keyword>
118     <keyword>rewrite</keyword>
119     <keyword>ring</keyword>
120     <keyword>right</keyword>
121     <keyword>symmetry</keyword>
122     <keyword>simplify</keyword>
123     <keyword>split</keyword>
124     <keyword>to</keyword>
125     <keyword>transitivity</keyword>
126     <keyword>unfold</keyword>
127     <keyword>whd</keyword>
128   </keyword-list>
129
130   <keyword-list _name = "Tacticals" style = "Keyword" case-sensitive="TRUE">
131     <keyword>try</keyword>
132     <keyword>solve</keyword>
133     <keyword>do</keyword>
134     <keyword>repeat</keyword>
135     <keyword>first</keyword>
136   </keyword-list>
137
138
139   <keyword-list _name = "Matita Macro" style = "Others 3" case-sensitive="TRUE">
140     <keyword>print</keyword>
141     <keyword>check</keyword>
142     <keyword>hint</keyword>
143     <keyword>quit</keyword>
144     <keyword>set</keyword>
145   </keyword-list>
146   
147   <keyword-list _name = "Whelp Macro" style = "Others 3"
148     case-sensitive="TRUE" 
149     beginning-regex="whelp *" 
150     match-empty-string-at-beginning="FALSE"
151     match-empty-string-at-end="FALSE" >
152     <keyword>elim</keyword>
153     <keyword>hint</keyword>
154     <keyword>instance</keyword>
155     <keyword>locate</keyword>
156     <keyword>match</keyword>
157   </keyword-list>
158     
159   <keyword-list _name = "TeX Macro" style = "Preprocessor" 
160     case-sensitive="TRUE" 
161     beginning-regex="\\" 
162     match-empty-string-at-beginning="FALSE"
163     match-empty-string-at-end="FALSE" >
164      <keyword>def</keyword>
165      <keyword>forall</keyword>
166      <keyword>lambda</keyword>
167      <keyword>to</keyword>
168      <keyword>exists</keyword>
169      <keyword>Rightarrow</keyword>
170      <keyword>Assign</keyword>
171      <keyword>land</keyword>
172      <keyword>lor</keyword>
173      <keyword>lnot</keyword>
174      <keyword>liff</keyword>
175      <keyword>subst</keyword>
176      <keyword>vdash</keyword>
177      <keyword>iforall</keyword>
178      <keyword>iexists</keyword>
179   </keyword-list>
180
181   <string _name = "String" style = "String" >
182     <start-regex>&quot;</start-regex>
183     <end-regex>&quot;</end-regex>
184   </string>
185  
186 </language>