summaryrefslogtreecommitdiffstats
path: root/kate/data/tibasic.xml
blob: 0b2d67dbdd522c01e99bb9e9e27e5bbb36c13756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="TI Basic" version="1.01" kateversion="2.3" section="Scientific" extensions="">
  <highlighting>
    <list name="keywords">
      <item>If </item>
      <item>Then </item>
      <item>Else </item>
      <item>For </item>
      <item>While </item>
      <item>Repeat </item>
      <item>End </item>
      <item>Pause </item>
      <item>Lbl </item>
      <item>Goto </item>
      <item>IS&gt; </item>
      <item>DS&lt; </item>
      <item>Menu </item>
      <item>prgm </item>
      <item>Return </item>
      <item>DelVar </item>
      <item>GraphStyle </item>
      <item>Input </item>
      <item>Prompt </item>
      <item>Disp </item>
      <item>DispGraph </item>
      <item>DispTable </item>
      <item>Output </item>
      <item>getKey </item>
      <item>ClrHome </item>
      <item>ClrTable </item>
      <item>GetCalc </item>
      <item>Get </item>
      <item>Send</item>
      <item>prgm</item>
    </list>
    <list name="special_sym">
      <item>net</item>
      <item>eogt</item>
      <item>eolt</item>
      <item>sqrt</item>
      <item>%THETA</item>
    </list>
    <contexts>
      <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
        <keyword attribute="Keyword" context="#stay" String="keywords"/>
        <keyword attribute="Special operators" context="#stay" String="special_sym" />

        <Detect2Chars attribute="Assignment" context="#stay" char="-" char1="&gt;"/>
        <Detect2Chars attribute="Assignment" context="#stay" char="s" char1="t"/>

        <RegExpr attribute="Matrix" context="#stay" String="\[\w\]" />
        <DetectChar attribute="String" context="String" char="&quot;"/>
      </context>
      <context attribute="String" lineEndContext="#stay" name="String">
        <DetectChar attribute="String" context="#pop" char="&quot;"/>
      </context>
    </contexts>
    <itemDatas>
      <itemData name="Normal Text"  defStyleNum="dsNormal"/>
      <itemData name="Assignment" defStyleNum="dsOthers" />
      <itemData name="Keyword" defStyleNum="dsKeyword" />
      <itemData name="String" defStyleNum="dsString" />
      <itemData name="Special operators" defStyleNum="dsNormal" />
      <itemData name="Matrix" defStyleNum="dsNormal" />
    </itemDatas>
  </highlighting>
  <general>
    <keywords casesensitive="0" weakDeliminator="%&lt;&gt;"/>
  </general>
</language>