]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/matita.lang
More profiling code.
[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>to</keyword>
48     <keyword>using</keyword>
49     <keyword>with</keyword>
50   </keyword-list>
51
52   <pattern-item _name = "Command [" style = "Keyword">
53     <regex>\[</regex>
54   </pattern-item>
55   <pattern-item _name = "Command |" style = "Keyword">
56     <regex>\|</regex>
57   </pattern-item>
58   <pattern-item _name = "Command ]" style = "Keyword">
59     <regex>\]</regex>
60   </pattern-item>
61   <pattern-item _name = "Command {" style = "Keyword">
62     <regex>\{</regex>
63   </pattern-item>
64   <pattern-item _name = "Command }" style = "Keyword">
65     <regex>\}</regex>
66   </pattern-item>
67   <pattern-item _name = "Notation ast mark" style = "Keyword">
68     <regex>@</regex>
69   </pattern-item>
70   <pattern-item _name = "Notation meta mark" style = "Keyword">
71     <regex>\$</regex>
72   </pattern-item>
73
74   <keyword-list _name = "Sorts" style = "Data Type" case-sensitive="TRUE">
75     <keyword>Set</keyword>
76     <keyword>Prop</keyword>
77     <keyword>Type</keyword>
78   </keyword-list>
79
80   <keyword-list _name = "Tactics" style = "Others 2" case-sensitive="TRUE">
81     <keyword>absurd</keyword>
82     <keyword>apply</keyword>
83     <keyword>assumption</keyword>
84     <keyword>auto</keyword>
85     <keyword>paramodulation</keyword>
86     <keyword>clear</keyword>
87     <keyword>clearbody</keyword>
88     <keyword>change</keyword>
89     <keyword>compare</keyword>
90     <keyword>constructor</keyword>
91     <keyword>contradiction</keyword>
92     <keyword>cut</keyword>
93     <keyword>decide</keyword> <keyword>equality</keyword> <!-- CSC: ??? -->
94     <keyword>decompose</keyword>
95     <keyword>discriminate</keyword>
96     <keyword>elim</keyword>
97     <keyword>elimType</keyword>
98     <keyword>exact</keyword>
99     <keyword>exists</keyword>
100     <keyword>fail</keyword>
101     <keyword>fold</keyword>
102     <keyword>fourier</keyword>
103     <keyword>fwd</keyword>
104     <keyword>generalize</keyword>
105     <keyword>goal</keyword>
106     <keyword>id</keyword>
107     <keyword>injection</keyword>
108     <keyword>intro</keyword>
109     <keyword>intros</keyword>
110     <keyword>lapply</keyword>
111     <keyword>left</keyword>
112     <keyword>letin</keyword>
113     <keyword>normalize</keyword>
114     <keyword>reduce</keyword>
115     <keyword>reflexivity</keyword>
116     <keyword>replace</keyword>
117     <keyword>rewrite</keyword>
118     <keyword>ring</keyword>
119     <keyword>right</keyword>
120     <keyword>symmetry</keyword>
121     <keyword>simplify</keyword>
122     <keyword>split</keyword>
123     <keyword>to</keyword>
124     <keyword>transitivity</keyword>
125     <keyword>unfold</keyword>
126     <keyword>whd</keyword>
127   </keyword-list>
128
129   <keyword-list _name = "Tacticals" style = "Keyword" case-sensitive="TRUE">
130     <keyword>try</keyword>
131     <keyword>solve</keyword>
132     <keyword>do</keyword>
133     <keyword>repeat</keyword>
134     <keyword>first</keyword>
135   </keyword-list>
136
137
138   <keyword-list _name = "Matita Macro" style = "Others 3" case-sensitive="TRUE">
139     <keyword>print</keyword>
140     <keyword>check</keyword>
141     <keyword>hint</keyword>
142     <keyword>quit</keyword>
143     <keyword>set</keyword>
144   </keyword-list>
145   
146   <keyword-list _name = "Whelp Macro" style = "Others 3"
147     case-sensitive="TRUE" 
148     beginning-regex="whelp *" 
149     match-empty-string-at-beginning="FALSE"
150     match-empty-string-at-end="FALSE" >
151     <keyword>elim</keyword>
152     <keyword>hint</keyword>
153     <keyword>instance</keyword>
154     <keyword>locate</keyword>
155     <keyword>match</keyword>
156   </keyword-list>
157     
158   <keyword-list _name = "TeX Macro" style = "Preprocessor" 
159     case-sensitive="TRUE" 
160     beginning-regex="\\" 
161     match-empty-string-at-beginning="FALSE"
162     match-empty-string-at-end="FALSE" >
163      <keyword>def</keyword>
164      <keyword>forall</keyword>
165      <keyword>lambda</keyword>
166      <keyword>to</keyword>
167      <keyword>exists</keyword>
168      <keyword>Rightarrow</keyword>
169      <keyword>Assign</keyword>
170      <keyword>land</keyword>
171      <keyword>lor</keyword>
172      <keyword>subst</keyword>
173      <keyword>vdash</keyword>
174   </keyword-list>
175
176   <string _name = "String" style = "String" >
177     <start-regex>&quot;</start-regex>
178     <end-regex>&quot;</end-regex>
179   </string>
180  
181 </language>