-
Notifications
You must be signed in to change notification settings - Fork 5
/
audiality2.xml
135 lines (135 loc) · 4.35 KB
/
audiality2.xml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Audiality 2" version="1.0" kateversion="2.1" section="Other" extensions="*.a2s" mimetype="text/x-audiality2script">
<highlighting>
<list name="directives">
<item> import </item>
<item> export </item>
<item> as </item>
<item> def </item>
<item> struct </item>
<item> wire </item>
<item> tempo </item>
<item> wave </item>
</list>
<list name="instructions">
<item> end </item>
<item> return </item>
<item> run </item>
<item> wait </item>
<item> sleep </item>
<item> wake </item>
<item> force </item>
<item> jump </item>
<item> loop </item>
<item> jz </item>
<item> jnz </item>
<item> jg </item>
<item> jl </item>
<item> jge </item>
<item> jle </item>
<item> if </item>
<item> ifz </item>
<item> ifl </item>
<item> ifg </item>
<item> ifle </item>
<item> ifge </item>
<item> for </item>
<item> else </item>
<item> while </item>
<item> wz </item>
<item> wl </item>
<item> wg </item>
<item> wle </item>
<item> wge </item>
<item> kill </item>
<item> detach </item>
<item> d </item>
<item> td </item>
<item> quant </item>
<item> rand </item>
<item> p2d </item>
<item> neg </item>
<item> set </item>
<item> ramp </item>
<item> debug </item>
<item> sizeof </item>
<item> and </item>
<item> or </item>
<item> xor </item>
<item> not </item>
</list>
<list name="cregs">
<item> tick </item>
<item> tr </item>
</list>
<list name="builtins">
<item> off </item>
<item> pulse1 </item>
<item> pulse2 </item>
<item> pulse3 </item>
<item> pulse4 </item>
<item> pulse5 </item>
<item> pulse10 </item>
<item> pulse15 </item>
<item> pulse20 </item>
<item> pulse25 </item>
<item> pulse30 </item>
<item> pulse35 </item>
<item> pulse40 </item>
<item> pulse45 </item>
<item> pulse50 </item>
<item> square </item>
<item> saw </item>
<item> triangle </item>
<item> sine </item>
<item> hsine </item>
<item> asine </item>
<item> qsine </item>
<item> noise </item>
</list>
<contexts>
<context name="Base" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<keyword attribute="Directive" String="directives" context="#stay"/>
<keyword attribute="Builtin" String="builtins" context="#stay"/>
<keyword attribute="Instruction" String="instructions" context="#stay"/>
<keyword attribute="ControlRegister" String="cregs" context="#stay"/>
<RangeDetect char=""" char1=""" attribute="String" context="#stay"/>
<Int attribute="Decimal" context="#stay">
<AnyChar String="nf" attribute="Decimal" context="#stay"/><!--- conversions -->
</Int>
<Float attribute="Decimal" context="#stay">
<AnyChar String="nf" attribute="Decimal" context="#stay"/><!--- conversions -->
</Float>
<Detect2Chars char="/" char1="/" attribute="Comment" context="Single Line Comment"/>
<Detect2Chars char="/" char1="*" attribute="Comment" context="Multi Line Comment"/>
<AnyChar String = "-+<>=;" attribute = "Operator" context = "#stay"/>
<AnyChar attribute="Operator" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;@"/>
</context>
<context name="Single Line Comment" attribute="Comment" lineEndContext="#pop"/>
<context name="Multi Line Comment" attribute="Comment" lineEndContext="#stay">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
</context>
</contexts>
<itemDatas>
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
<itemData name = "Directive" defStyleNum = "dsOthers"/>
<itemData name = "Builtin" defStyleNum = "dsDataType"/>
<itemData name = "Instruction" defStyleNum = "dsKeyword"/>
<itemData name = "ControlRegister" defStyleNum = "dsOthers"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="String" defStyleNum="dsString" />
<itemData name = "Comment" defStyleNum = "dsComment"/>
<itemData name = "Command" defStyleNum = "dsNormal"/>
<itemData name = "Operator" defStyleNum = "dsOthers"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//"/>
<comment name="multiLine" start="/*" end="*/"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>