root/downloads/MiniD.chl

Revision 307, 5.7 kB (checked in by JarrettBillingsley, 7 months ago)

--

Line 
1 //////////////////////////////////////////////////////////////////////////////
2 // language name
3
4 Language:               MiniD
5
6
7 //////////////////////////////////////////////////////////////////////////////
8 // default file filter
9 // note: if more than one extension is associated, eg:
10 // C/C++ files (*.c,*.cpp,*.h,*.hpp)|*.c;*.cpp;*.h;*.hpp
11
12 Filter:                 MiniD source files (*.md)|*.md
13
14
15 //////////////////////////////////////////////////////////////////////////////
16 // help file which will be invokend when F1 is pressed
17
18 HelpFile:
19
20
21 //////////////////////////////////////////////////////////////////////////////
22 // language case sensitivity
23 //                      0  - no
24 //                      1  - yes
25
26 CaseSensitive:          1
27
28
29 //////////////////////////////////////////////////////////////////////////////
30 // comment type: LineComment - comment to the end of line
31 // BlockCommentBeg - block comment begin, it could be
32 // multiline
33 // BlockCommentEnd - block comment end
34
35 LineComment:        //
36 BlockCommentBeg:    /*
37 BlockCommentEnd:    */
38
39
40 //////////////////////////////////////////////////////////////////////////////
41 // identifier characters
42 // note: characters shouldn't be delimited, except arrays
43 // array of chars could be defined as from_char..to_char
44
45 IdentifierBegChars:     a..z A..Z _
46 IdentifierChars:        a..z A..Z _ 0..9
47
48 //////////////////////////////////////////////////////////////////////////////
49 // numeric constants begin characters
50 // note: characters shouldn't be delimited, except arrays
51 // array of chars could be defined as from_char..to_char
52 // number always starts with 0..9 except when NumConstBeg
53 // defines other
54
55 NumConstBegChars:       0..9
56
57
58 //////////////////////////////////////////////////////////////////////////////
59 // numeric constants characters
60 // note: characters shouldn't be delimited, except arrays
61 // array of chars could be defined as from_char..to_char
62 // number always starts with 0..9 except when NumConstBeg
63 // defines other
64
65 NumConstChars:          0..9 _ abcdefxABCDEFX
66
67
68 //////////////////////////////////////////////////////////////////////////////
69 // escape character
70
71 EscapeChar: \
72
73
74 //////////////////////////////////////////////////////////////////////////////
75 // keyword table
76 // note: delimited with spaces, lines could be wrapped
77 // you may divide keywords into two groups which can be
78 // highlighted differently
79
80 KeyWords1:
81     as
82     break
83     case
84     class
85     catch
86     continue
87     coroutine
88     default
89     do
90     else
91     false
92     finally
93     for
94     foreach
95     function
96     global
97     if
98     import
99     in
100     is
101     local
102     module
103     namespace
104     null
105     return
106     super
107     switch
108     this
109     throw
110     true
111     try
112     vararg
113     while
114     with
115     yield
116
117
118
119 //////////////////////////////////////////////////////////////////////////////
120 // string delimiter: StringBegChar - string begin char
121 // StringEndChar - string end char
122 // MultilineStrings - enables multiline strings, as perl
123 // has it
124
125 StringBegChar:          "`'
126 StringEndChar:          "`'
127 MultilineStrings:       1
128
129
130 //////////////////////////////////////////////////////////////////////////////
131 // use preprocessor: 0 - no
132 // 1 - yes
133 // note: if yes, '#' and statements after it will be
134 // highlighted with Preprocessor defined colors
135
136 UsePreprocessor:        0
137
138
139 //////////////////////////////////////////////////////////////////////////////
140 // highlight line: 0 - no
141 // 1 - yes
142 // note: if yes, current line will be highlighted
143
144 CurrLineHighlighted:    1
145
146
147 //////////////////////////////////////////////////////////////////////////////
148 // colors
149 // note:                first value is foreground, second is background color
150 //                        and third (optional) represents font attribute:
151 //                        B - bold
152 //                        I - italic
153 //                        U - underline
154 //                        S - strike out
155 //                        attributes can be combined: eg. B or BI
156 //                      as value, it could be used any standard windows color:
157 //                        clBlack, clMaroon, clGreen, clOlive, clNavy,
158 //                        clPurple, clTeal, clGray, clSilver, clRed, clLime,
159 //                        clYellow, clBlue, clFuchsia, clAqua, clLtGray,
160 //                        clDkGray, clWhite, clScrollBar, clBackground,
161 //                        clActiveCaption, clInactiveCaption, clMenu, clWindow,
162 //                        clWindowFrame, clMenuText, clWindowText, clCaptionText,
163 //                        clActiveBorder, clInactiveBorder, clAppWorkSpace,
164 //                        clHighlight, clHighlightText, clBtnFace, clBtnShadow,
165 //                        clGrayText, clBtnText, clInactiveCaptionText,
166 //                        clBtnHighlight, cl3DDkShadow, cl3DLight, clInfoText,
167 //                        clInfoBk
168 //                      as value, it could be used hex numeric constant too:
169 //                        $BBGGRR - BB: blue, GG: green, RR: red, eg: $FF6A00
170
171 SpaceCol:               clWhite clBlack
172 KeyWords1Col:       $ff0000 $000000
173 KeyWords2Col:       $ff0000 $000000
174 IdentifierCol:          clWhite clBlack
175 CommentCol:             clGreen clBlack
176 NumberCol:              $0040FF40 clBlack
177 StringCol:              $000080FF clBlack
178 SymbolCol:              clWhite clBlack
179 PreprocessorCol:        clRed clBlack
180 SelectionCol:           clWhite clNavy
181 CurrentLineCol:         clWhite $00202020
182 OverrideTxtFgColor:     0
183 BlockAutoindent:        1
184 BlockBegStr:            {
185 BlockEndStr:            }
186 Keyword1Col:            clRed clBlack
187 Keyword2Col:            $00FF40FF clBlack
188 Keyword3Col:            clYellow clBlack
189 MatchedBracesCol:       $00FF8080 clBlack
190 Keyword4Col:            clWindowText clWindow
191 Keyword5Col:            clWindowText clWindow
Note: See TracBrowser for help on using the browser.