]> matita.cs.unibo.it Git - helm.git/blob - matita/matita.lang
added configure time values SRCROOT and DISTRIBUTED
[helm.git] / 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>inversion</keyword>
112     <keyword>lapply</keyword>
113     <keyword>left</keyword>
114     <keyword>letin</keyword>
115     <keyword>normalize</keyword>
116     <keyword>reduce</keyword>
117     <keyword>reflexivity</keyword>
118     <keyword>replace</keyword>
119     <keyword>rewrite</keyword>
120     <keyword>ring</keyword>
121     <keyword>right</keyword>
122     <keyword>symmetry</keyword>
123     <keyword>simplify</keyword>
124     <keyword>split</keyword>
125     <keyword>to</keyword>
126     <keyword>transitivity</keyword>
127     <keyword>unfold</keyword>
128     <keyword>whd</keyword>
129   </keyword-list>
130
131   <keyword-list _name = "Tacticals" style = "Keyword" case-sensitive="TRUE">
132     <keyword>try</keyword>
133     <keyword>solve</keyword>
134     <keyword>do</keyword>
135     <keyword>repeat</keyword>
136     <keyword>first</keyword>
137   </keyword-list>
138
139
140   <keyword-list _name = "Matita Macro" style = "Others 3" case-sensitive="TRUE">
141     <keyword>print</keyword>
142     <keyword>check</keyword>
143     <keyword>hint</keyword>
144     <keyword>quit</keyword>
145     <keyword>set</keyword>
146   </keyword-list>
147   
148   <keyword-list _name = "Whelp Macro" style = "Others 3"
149     case-sensitive="TRUE" 
150     beginning-regex="whelp *" 
151     match-empty-string-at-beginning="FALSE"
152     match-empty-string-at-end="FALSE" >
153     <keyword>elim</keyword>
154     <keyword>hint</keyword>
155     <keyword>instance</keyword>
156     <keyword>locate</keyword>
157     <keyword>match</keyword>
158   </keyword-list>
159     
160   <keyword-list _name = "TeX Macro" style = "Preprocessor" 
161     case-sensitive="TRUE" 
162     beginning-regex="\\" 
163     match-empty-string-at-beginning="FALSE"
164     match-empty-string-at-end="FALSE" >
165      <keyword>def</keyword>
166      <keyword>forall</keyword>
167      <keyword>lambda</keyword>
168      <keyword>to</keyword>
169      <keyword>exists</keyword>
170      <keyword>Rightarrow</keyword>
171      <keyword>Assign</keyword>
172      <keyword>land</keyword>
173      <keyword>lor</keyword>
174      <keyword>lnot</keyword>
175      <keyword>liff</keyword>
176      <keyword>subst</keyword>
177      <keyword>vdash</keyword>
178      <keyword>iforall</keyword>
179      <keyword>iexists</keyword>
180   </keyword-list>
181
182   <string _name = "String" style = "String" >
183     <start-regex>&quot;</start-regex>
184     <end-regex>&quot;</end-regex>
185   </string>
186  
187 </language>