blob: 9395198b52d93ebdbb700d43a330ded695887a46 (
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
72
73
74
|
<?xml version="1.0" ?>
<!-- syntaxdefinition for Coco/R 2003 by Mike Krueger -->
<!-- converted to AvalonEdit format by Siegfried Pammer in 2010 -->
<SyntaxDefinition name="Coco" extensions=".atg" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
<Color name="Comment" foreground="#FF808080" fontStyle="italic" />
<Color name="Punctuation" foreground="#FF000000" fontWeight="bold" />
<Color name="Keywords" foreground="#FF0000FF" fontWeight="bold" />
<Color name="String" foreground="#FF006400" />
<RuleSet ignoreCase="false">
<Rule color="Punctuation">
[{}\(\)\[\]|+\-=\.]+
</Rule>
<Keywords color="Keywords">
<Word>ANY</Word>
<Word>CHARACTERS</Word>
<Word>COMMENTS</Word>
<Word>COMPILER</Word>
<Word>CONTEXT</Word>
<Word>END</Word>
<Word>FROM</Word>
<Word>IF</Word>
<Word>IGNORE</Word>
<Word>NAMESPACE</Word>
<Word>NESTED</Word>
<Word>PRAGMAS</Word>
<Word>PRODUCTIONS</Word>
<Word>SYNC</Word>
<Word>TO</Word>
<Word>TOKENS</Word>
<Word>TOKENNAMES</Word>
<Word>WEAK</Word>
<Word>using</Word>
</Keywords>
<Span color="Comment">
<Begin>//</Begin>
</Span>
<Span color="Comment" multiline="true">
<Begin>/\*</Begin>
<End>\*/</End>
</Span>
<Span foreground="Black" ruleSet="CSharp" multiline="true">
<Begin color="Keywords">COMPILER</Begin>
<End color="Keywords">TOKENNAMES</End>
</Span>
<Span color="String">
<Begin>"</Begin>
<End>"</End>
</Span>
<Span color="String">
<Begin>'</Begin>
<End>'</End>
</Span>
<Span foreground="#FF000000" ruleSet="ParamList">
<Begin foreground="#FF000000" fontWeight="bold"><</Begin>
<End foreground="#FF000000" fontWeight="bold">></End>
</Span>
<Span foreground="#FF2F4F4F" fontWeight="normal" fontStyle="normal" ruleSet="CSharp" multiline="true">
<Begin foreground="#FF008000" fontWeight="bold" fontStyle="italic">\(\.</Begin>
<End foreground="#FF008000" fontWeight="bold" fontStyle="italic">\.\)</End>
</Span>
<Rule foreground="#FF00008B" fontWeight="normal" fontStyle="normal">\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?</Rule>
</RuleSet>
<RuleSet name="CSharp" ignoreCase="false">
<Import ruleSet="C#/" />
<Rule foreground="#FF00008B" fontWeight="normal" fontStyle="normal">\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?</Rule>
</RuleSet>
<RuleSet name="ParamList" ignoreCase="false">
<Import ruleSet="C#/" />
<Rule foreground="#FF00008B" fontWeight="normal" fontStyle="normal">\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?</Rule>
</RuleSet>
<RuleSet name="RuleDefinition" ignoreCase="false">
<Rule foreground="#FF00008B" fontWeight="normal" fontStyle="normal">\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?</Rule>
</RuleSet>
</SyntaxDefinition>
|