|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE language SYSTEM "language.dtd">
|
|
|
|
<language name="CGiS" version="1.02" kateversion="2.4" section="Sources" extensions="*.cgis" mimetype="">
|
|
|
|
<highlighting>
|
|
|
|
<list name="keywords">
|
|
|
|
<item> 1D </item>
|
|
|
|
<item> 2D </item>
|
|
|
|
<item> break </item>
|
|
|
|
<item> continue </item>
|
|
|
|
<item> do </item>
|
|
|
|
<item> else </item>
|
|
|
|
<item> extern </item>
|
|
|
|
<item> for </item>
|
|
|
|
<item> forall </item>
|
|
|
|
<item> foreach </item>
|
|
|
|
<item> function </item>
|
|
|
|
<item> if </item>
|
|
|
|
<item> in </item>
|
|
|
|
<item> inout </item>
|
|
|
|
<item> internal </item>
|
|
|
|
<item> out </item>
|
|
|
|
<item> reduction </item>
|
|
|
|
<item> return </item>
|
|
|
|
<item> struct </item>
|
|
|
|
<item> typedef </item>
|
|
|
|
<item> while </item>
|
|
|
|
</list>
|
|
|
|
<list name="types">
|
|
|
|
<item> bool </item>
|
|
|
|
<item> bool2 </item>
|
|
|
|
<item> bool3 </item>
|
|
|
|
<item> bool4 </item>
|
|
|
|
<item> int </item>
|
|
|
|
<item> int2 </item>
|
|
|
|
<item> int3 </item>
|
|
|
|
<item> int4 </item>
|
|
|
|
<item> half </item>
|
|
|
|
<item> half2 </item>
|
|
|
|
<item> half3 </item>
|
|
|
|
<item> half4 </item>
|
|
|
|
<item> float </item>
|
|
|
|
<item> float2 </item>
|
|
|
|
<item> float3 </item>
|
|
|
|
<item> float4 </item>
|
|
|
|
</list>
|
|
|
|
<contexts>
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
|
|
|
|
<DetectSpaces />
|
|
|
|
<StringDetect attribute="Keyword" context="#stay" String="PROGRAM" />
|
|
|
|
<StringDetect attribute="Keyword" context="Interface" String="INTERFACE" />
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Interface">
|
|
|
|
<DetectSpaces />
|
|
|
|
<StringDetect attribute="Keyword" context="Control" String="CONTROL" />
|
|
|
|
<StringDetect attribute="Keyword" context="Code" String="CODE" />
|
|
|
|
|
|
|
|
<IncludeRules context="Common" />
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Code">
|
|
|
|
<DetectSpaces />
|
|
|
|
<StringDetect attribute="Keyword" context="Control" String="CONTROL" />
|
|
|
|
|
|
|
|
<StringDetect attribute="Hint" context="Hint" String="#HINT" />
|
|
|
|
|
|
|
|
<IncludeRules context="Common" />
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Control">
|
|
|
|
<DetectSpaces />
|
|
|
|
<StringDetect attribute="Keyword" context="Code" String="CODE" />
|
|
|
|
|
|
|
|
<IncludeRules context="Common" />
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Common">
|
|
|
|
<StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />
|
|
|
|
<StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />
|
|
|
|
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
|
|
|
<keyword attribute="Data Type" context="#stay" String="types"/>
|
|
|
|
<DetectIdentifier />
|
|
|
|
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
|
|
|
|
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
|
|
|
|
<Float attribute="Float" context="#stay">
|
|
|
|
<AnyChar String="fF" attribute="Float" context="#stay"/>
|
|
|
|
</Float>
|
|
|
|
<HlCOct attribute="Octal" context="#stay"/>
|
|
|
|
<HlCHex attribute="Hex" context="#stay"/>
|
|
|
|
<Int attribute="Decimal" context="#stay"/>
|
|
|
|
<IncludeRules context="##Doxygen" />
|
|
|
|
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
|
|
|
|
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Hint" lineEndContext="#stay" name="Hint">
|
|
|
|
<DetectSpaces />
|
|
|
|
<DetectChar attribute="Hint" context="#pop" char=")" />
|
|
|
|
<DetectIdentifier />
|
|
|
|
</context>
|
|
|
|
|
|
|
|
<context attribute="Region Marker" lineEndContext="#pop" name="Region Marker">
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
|
|
|
|
<IncludeRules context="##Alerts" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
|
|
|
|
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
|
|
|
|
<IncludeRules context="##Alerts" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Region Marker" lineEndContext="#pop" name="Region Marker">
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
|
|
|
|
<IncludeRules context="##Alerts" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
|
|
|
|
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
|
|
|
|
<IncludeRules context="##Alerts" />
|
|
|
|
</context>
|
|
|
|
</contexts>
|
|
|
|
<itemDatas>
|
|
|
|
<itemData name="Normal Text" defStyleNum="dsNormal"/>
|
|
|
|
<itemData name="Keyword" defStyleNum="dsKeyword"/>
|
|
|
|
<itemData name="Data Type" defStyleNum="dsDataType"/>
|
|
|
|
<itemData name="Decimal" defStyleNum="dsDecVal"/>
|
|
|
|
<itemData name="Octal" defStyleNum="dsBaseN"/>
|
|
|
|
<itemData name="Hex" defStyleNum="dsBaseN"/>
|
|
|
|
<itemData name="Float" defStyleNum="dsFloat"/>
|
|
|
|
<itemData name="Char" defStyleNum="dsChar"/>
|
|
|
|
<itemData name="String" defStyleNum="dsString"/>
|
|
|
|
<itemData name="String Char" defStyleNum="dsChar"/>
|
|
|
|
<itemData name="Comment" defStyleNum="dsComment"/>
|
|
|
|
<itemData name="Symbol" defStyleNum="dsNormal"/>
|
|
|
|
<itemData name="Alert" defStyleNum="dsAlert" />
|
|
|
|
<itemData name="Region Marker" defStyleNum="dsRegionMarker" />
|
|
|
|
<itemData name="Hint " defStyleNum="dsOthers"/>
|
|
|
|
</itemDatas>
|
|
|
|
</highlighting>
|
|
|
|
<general>
|
|
|
|
<comments>
|
|
|
|
<comment name="singleLine" start="//" />
|
|
|
|
<comment name="multiLine" start="/*" end="*/" />
|
|
|
|
</comments>
|
|
|
|
<keywords casesensitive="1" />
|
|
|
|
</general>
|
|
|
|
</language>
|