blob: eb975a3b3ce684a7b297663f8176b47473544fca (
plain) (
blame)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<language kateversion="5.0" name="bruijn" section="Sources" extensions="*.bruijn">
<highlighting>
<contexts>
<context attribute="Text" lineEndContext="#pop" name="text" >
<RegExpr attribute="Command" String="^:" context="command" beginRegion="Command" />
<Detect2Chars attribute="Comment" char="#" char1=" " context="comment" beginRegion="Comment"/>
<RegExpr attribute="Definition" String="^[^ [(:#]+ " context="#pop" />
<Detect2Chars attribute="Number" char="(" char1="+" context="number" beginRegion="Number"/>
<Detect2Chars attribute="Number" char="(" char1="-" context="number" beginRegion="Number"/>
<RegExpr attribute="Index" String="[0-9]" />
<RegExpr attribute="Namespace" String="[α-ωΑ-ΩA-Z]+[α-ωΑ-Ωa-zA-Z]*" context="#stay"/>
<RegExpr attribute="Identifier" String="(…|[α-ωΑ-Ωa-z])+[^ \])]*" context="#stay"/>
<AnyChar attribute="Mixfix" String="!?*@.,:;+-_#$%^&<>/\\|{}~=" context="#stay" />
<DetectChar attribute="String" context="string" char=""" />
<DetectChar attribute="Char" context="char" char="'" />
<DetectChar attribute="Abstraction" context="#stay" char="[" />
<DetectChar attribute="Abstraction" context="#stay" char="]" />
<DetectChar attribute="Application" context="#stay" char="(" />
<DetectChar attribute="Application" context="#stay" char=")" />
</context>
<context attribute="String" lineEndContext="#stay" name="string" >
<DetectChar attribute="String" context="#pop" char=""" />
</context>
<context attribute="Char" lineEndContext="#stay" name="char" >
<DetectChar attribute="Char" context="#pop" char="'" />
</context>
<context attribute="Number" lineEndContext="#stay" name="number" >
<DetectChar attribute="Number" context="#pop" char=")" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="comment">
</context>
<context attribute="Command" lineEndContext="#pop" name="command">
</context>
</contexts>
<itemDatas>
<itemData name="Abstraction" defStyleNum="dsControlFlow" />
<itemData name="Application" defStyleNum="dsKeyword" />
<itemData name="Char" defStyleNum="dsChar" />
<itemData name="Command" defStyleNum="dsPreprocessor" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Definition" defStyleNum="dsVariable" />
<itemData name="Identifier" defStyleNum="dsFunction" />
<itemData name="Index" defStyleNum="dsSpecialChar" />
<itemData name="Mixfix" defStyleNum="dsOperator" />
<itemData name="Namespace" defStyleNum="dsExtension" />
<itemData name="Number" defStyleNum="dsBaseN" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Text" defStyleNum="dsNormal" />
</itemDatas>
</highlighting>
</language>
|