1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE language SYSTEM
"language.dtd">
3 <language name=
"Faust" version=
"1" kateversion=
"2.4" section=
"Sources" extensions=
"*.dsp;*.lib" mimetype=
"text/x-faust" priority=
"9">
5 <list name=
"primitives">
10 <item> rdtable
</item>
11 <item> rwtable
</item>
12 <item> select2
</item>
13 <item> select3
</item>
14 <item> ffunction
</item>
15 <item> fconstant
</item>
16 <item> fvariable
</item>
18 <item> checkbox
</item>
19 <item> vslider
</item>
20 <item> hslider
</item>
25 <item> vbargraph
</item>
26 <item> hbargraph
</item>
44 <item> remainder
</item>
50 <list name=
"operators">
51 <item> process
</item>
61 <item> component
</item>
62 <item> library
</item>
63 <item> environment
</item>
65 <item> declare
</item>
69 <context attribute=
"Normal Text" lineEndContext=
"#stay" name=
"Normal">
71 <Detect2Chars attribute=
"BlockDiagram" context=
"#stay" char=
"<" char1=
":" />
72 <Detect2Chars attribute=
"BlockDiagram" context=
"#stay" char=
":" char1=
">" />
73 <Detect2Chars attribute=
"BlockDiagram" context=
"#stay" char=
"+" char1=
">" />
74 <DetectChar attribute=
"BlockDiagram" context=
"#stay" char=
":" />
75 <DetectChar attribute=
"BlockDiagram" context=
"#stay" char=
"," />
76 <DetectChar attribute=
"BlockDiagram" context=
"#stay" char=
"~" />
77 <DetectChar attribute=
"BlockDiagram" context=
"#stay" char=
";" />
78 <keyword attribute=
"BlockDiagram" context=
"#stay" String=
"operators" />
79 <keyword attribute=
"Primitive" context=
"#stay" String=
"primitives" />
80 <HlCChar attribute=
"Char" context=
"#stay"/>
81 <DetectChar attribute=
"String" context=
"String" char=
"""/>
83 <Float attribute=
"Float" context=
"#stay">
84 <AnyChar String=
"fF" attribute=
"Float" context=
"#stay"/>
86 <HlCOct attribute=
"Octal" context=
"#stay"/>
87 <HlCHex attribute=
"Hex" context=
"#stay"/>
88 <Int attribute=
"Decimal" context=
"#stay">
89 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"ULL" insensitive=
"TRUE"/>
90 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"LUL" insensitive=
"TRUE"/>
91 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"LLU" insensitive=
"TRUE"/>
92 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"UL" insensitive=
"TRUE"/>
93 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"LU" insensitive=
"TRUE"/>
94 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"LL" insensitive=
"TRUE"/>
95 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"U" insensitive=
"TRUE"/>
96 <StringDetect attribute=
"Decimal" context=
"#stay" String=
"L" insensitive=
"TRUE"/>
98 <IncludeRules context=
"##Doxygen" />
99 <Detect2Chars attribute=
"Comment" context=
"Commentar 1" char=
"/" char1=
"/"/>
100 <Detect2Chars attribute=
"Comment" context=
"Commentar 2" char=
"/" char1=
"*" beginRegion=
"Comment"/>
101 <DetectChar attribute=
"Symbol" context=
"#stay" char=
"{" beginRegion=
"Brace1" />
102 <DetectChar attribute=
"Symbol" context=
"#stay" char=
"}" endRegion=
"Brace1" />
103 <AnyChar attribute=
"Symbol" context=
"#stay" String=
":!%&()+,-/.*<=>?[]{|}~^;"/>
105 <context attribute=
"String" lineEndContext=
"#pop" name=
"String">
106 <LineContinue attribute=
"String" context=
"#stay"/>
107 <HlCStringChar attribute=
"String Char" context=
"#stay"/>
108 <DetectChar attribute=
"String" context=
"#pop" char=
"""/>
110 <context attribute=
"Region Marker" lineEndContext=
"#pop" name=
"Region Marker">
112 <context attribute=
"Comment" lineEndContext=
"#pop" name=
"Commentar 1">
114 <IncludeRules context=
"##Alerts" />
117 <context attribute=
"Comment" lineEndContext=
"#stay" name=
"Commentar 2">
119 <Detect2Chars attribute=
"Comment" context=
"#pop" char=
"*" char1=
"/" endRegion=
"Comment"/>
120 <IncludeRules context=
"##Alerts" />
123 <context attribute=
"Preprocessor" lineEndContext=
"#pop" name=
"Preprocessor">
124 <LineContinue attribute=
"Preprocessor" context=
"#stay"/>
125 <RegExpr attribute=
"Preprocessor" context=
"Define" String=
"define.*((?=\\))"/>
126 <RegExpr attribute=
"Preprocessor" context=
"#stay" String=
"define.*"/>
127 <RangeDetect attribute=
"Prep. Lib" context=
"#stay" char=
""" char1=
"""/>
128 <RangeDetect attribute=
"Prep. Lib" context=
"#stay" char=
"<" char1=
">"/>
129 <IncludeRules context=
"##Doxygen" />
130 <Detect2Chars attribute=
"Comment" context=
"Commentar 1" char=
"/" char1=
"/"/>
131 <Detect2Chars attribute=
"Comment" context=
"Commentar/Preprocessor" char=
"/" char1=
"*"/>
133 <context attribute=
"Preprocessor" lineEndContext=
"#pop" name=
"Define">
134 <LineContinue attribute=
"Preprocessor" context=
"#stay"/>
136 <context attribute=
"Comment" lineEndContext=
"#stay" name=
"Commentar/Preprocessor">
138 <Detect2Chars attribute=
"Comment" context=
"#pop" char=
"*" char1=
"/" />
141 <context attribute=
"Comment" lineEndContext=
"#stay" name=
"Outscoped" >
143 <Detect2Chars attribute=
"Comment" context=
"Commentar 2" char=
"/" char1=
"*" beginRegion=
"Comment"/>
144 <IncludeRules context=
"##Alerts" />
146 <RegExpr attribute=
"Comment" context=
"Outscoped intern" String=
"#\s*if" beginRegion=
"Outscoped" firstNonSpace=
"true" />
147 <RegExpr attribute=
"Preprocessor" context=
"#pop" String=
"#\s*(endif|else|elif)" endRegion=
"Outscoped" firstNonSpace=
"true" />
149 <context attribute=
"Comment" lineEndContext=
"#stay" name=
"Outscoped intern">
151 <Detect2Chars attribute=
"Comment" context=
"Commentar 2" char=
"/" char1=
"*" beginRegion=
"Comment"/>
152 <RegExpr attribute=
"Comment" context=
"Outscoped intern" String=
"#\s*if" beginRegion=
"Outscoped" firstNonSpace=
"true"/>
153 <RegExpr attribute=
"Comment" context=
"#pop" String=
"#\s*endif" endRegion=
"Outscoped" firstNonSpace=
"true"/>
157 <itemData name=
"Normal Text" defStyleNum=
"dsNormal"/>
158 <itemData name=
"BlockDiagram" defStyleNum=
"dsKeyword"/>
159 <itemData name=
"Primitive" defStyleNum=
"dsKeyword" color=
"#A07832"/>
160 <itemData name=
"Data Type" defStyleNum=
"dsDataType"/>
161 <itemData name=
"Decimal" defStyleNum=
"dsDecVal"/>
162 <itemData name=
"Octal" defStyleNum=
"dsBaseN"/>
163 <itemData name=
"Hex" defStyleNum=
"dsBaseN"/>
164 <itemData name=
"Float" defStyleNum=
"dsFloat"/>
165 <itemData name=
"Char" defStyleNum=
"dsChar"/>
166 <itemData name=
"String" defStyleNum=
"dsString"/>
167 <itemData name=
"String Char" defStyleNum=
"dsChar"/>
168 <itemData name=
"Comment" defStyleNum=
"dsComment"/>
169 <itemData name=
"Symbol" defStyleNum=
"dsNormal"/>
170 <itemData name=
"Preprocessor" defStyleNum=
"dsOthers"/>
171 <itemData name=
"Prep. Lib" defStyleNum=
"dsOthers"/>
172 <itemData name=
"Region Marker" defStyleNum=
"dsRegionMarker" />
177 <comment name=
"singleLine" start=
"//" />
178 <comment name=
"multiLine" start=
"/*" end=
"*/" region=
"Comment"/>
180 <keywords casesensitive=
"1" />