Warning, /sdk/ktechlab/src/microbe.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language SYSTEM "language.dtd">
0003 <language name="Microbe" version="0.01" kateversion="3.4" section="Sources" extensions="*.microbe;*.basic" mimetypes="application/x-microbe">
0004   <highlighting>   
0005     <list name="keywords">
0006       
0007       <item> asm </item>
0008  
0009           <item> high </item>
0010           <item> low </item>
0011       
0012       <item> for </item>
0013       <item> to </item>
0014       <item> step </item>
0015       
0016       <item> if </item>
0017       <item> then </item>
0018       <item> else </item>
0019       
0020       <item> while </item>
0021      
0022       <item> alias </item>
0023       <item> repeat </item>
0024       <item> until </item>
0025       <item> end </item>
0026     </list>
0027     <list name="procedurekeywords">
0028         <item> call </item>
0029                 <item> goto </item>
0030           <item> delay </item>
0031     </list>
0032     <contexts>
0033       <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
0034         <RegExpr attribute="Decimal" context="#stay" String="//\s*BEGIN.*$" beginRegion="Region1"/>
0035         <RegExpr attribute="Decimal" context="#stay" String="//\s*END.*$" endRegion="Region1"/>
0036         <keyword attribute="Keyword" context="#stay" String="keywords" />
0037         <keyword attribute="Extensions" context="#stay" String="extensions" />
0038         <keyword attribute="Function" context="#pop" String="procedurekeywords" />
0039         <keyword attribute="Data Type" context="#stay" String="types" />
0040         <Float attribute="Float" context="#stay">
0041           <AnyChar String="fF" attribute="Float" context="#stay"/>
0042         </Float>
0043         <HlCOct attribute="Octal" context="#stay"/>
0044         <HlCHex attribute="Hex" context="#stay"/>
0045         <Int attribute="Decimal" context="#stay">
0046           <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
0047           <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
0048           <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
0049           <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
0050           <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
0051           <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
0052           <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
0053           <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
0054         </Int>
0055         <HlCChar attribute="Char" context="#stay"/>
0056         <DetectChar attribute="String" context="String" char="&quot;"/>
0057         <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
0058         <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
0059         <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
0060         <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
0061         <RegExpr attribute="Preprocessor" context="Outscoped" String="^\s*#\s*if\s+0" beginRegion="Outscoped"/>
0062         <RegExpr attribute="Preprocessor" context="Preprocessor" String="^\s*#"/>
0063         <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\d\w]*(?=[\s]*[(])" />
0064         <RegExpr attribute="Symbol" context="Member" String="([.]{1,1}|[:]{2,2})" />
0065         <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]{|}~^&#59;"/>
0066       </context>
0067       <context attribute="String" lineEndContext="#pop" name="String">
0068         <LineContinue attribute="String" context="#stay"/>
0069         <HlCStringChar attribute="String Char" context="#stay"/>
0070         <DetectChar attribute="String" context="#pop" char="&quot;"/>
0071       </context>
0072       <context attribute="Normal Text" lineEndContext="#pop" name="Member"  fallthrough="true" fallthroughContext="#pop">
0073         <RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)" />
0074       </context>
0075       <context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
0076         <keyword attribute="Decimal" context="#stay" String="attention" />
0077       </context>
0078       <context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
0079         <keyword attribute="Decimal" context="#stay" String="attention" />
0080         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
0081       </context>
0082       <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
0083         <LineContinue attribute="Preprocessor" context="#stay"/>
0084         <RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>
0085         <RegExpr attribute="Preprocessor" context="#stay" String="define.*"/>
0086         <RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;"/>
0087         <RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>
0088         <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
0089         <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*"/>
0090       </context>
0091       <context attribute="Preprocessor" lineEndContext="#pop" name="Define">
0092         <LineContinue attribute="Preprocessor" context="#stay"/>
0093       </context>
0094       <context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor">
0095         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />
0096       </context>
0097       <context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
0098         <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
0099         <keyword attribute="Decimal" context="#stay" String="attention" />
0100         <RegExpr attribute="Comment" context="Outscoped intern" String="^\s*#\s*if" beginRegion="Outscoped"/>
0101         <RegExpr attribute="Preprocessor" context="#pop" String="^\s*#\s*(endif|else|elif)" endRegion="Outscoped"/>
0102       </context>
0103       <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
0104         <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
0105         <RegExpr attribute="Comment" context="Outscoped intern" String="^\s*#\s*if" beginRegion="Outscoped"/>
0106         <RegExpr attribute="Comment" context="#pop" String="^\s*#\s*endif" endRegion="Outscoped"/>
0107       </context>
0108       <context attribute="Function" lineEndContext="#stay" name="Procedure call">
0109       
0110       </context>
0111     </contexts>
0112     <itemDatas>
0113       <itemData name="Normal Text"  defStyleNum="dsNormal"/>
0114       <itemData name="Keyword"      defStyleNum="dsKeyword"/>
0115       <itemData name="Extensions"   defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/>
0116       <itemData name="Function"     defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/>
0117       <itemData name="Data Type"    defStyleNum="dsDataType"/>
0118       <itemData name="Decimal"      defStyleNum="dsDecVal"/>
0119       <itemData name="Octal"        defStyleNum="dsBaseN"/>
0120       <itemData name="Hex"          defStyleNum="dsBaseN"/>
0121       <itemData name="Float"        defStyleNum="dsFloat"/>
0122       <itemData name="Char"         defStyleNum="dsChar"/>
0123       <itemData name="String"       defStyleNum="dsString"/>
0124       <itemData name="String Char"  defStyleNum="dsChar"/>
0125       <itemData name="Comment"      defStyleNum="dsComment"/>
0126       <itemData name="Symbol"       defStyleNum="dsNormal"/>
0127       <itemData name="Preprocessor" defStyleNum="dsOthers"/>
0128       <itemData name="Prep. Lib"    defStyleNum="dsOthers"/>
0129     </itemDatas>
0130   </highlighting>
0131   <general>
0132     <comments>
0133       <comment name="singleLine" start="//" />
0134       <comment name="multiLine" start="/*" end="*/" />
0135     </comments>
0136     <keywords casesensitive="1" />
0137   </general>
0138 </language>
0139