Ticket #4005: yabasic.syntax

File yabasic.syntax, 5.5 KB (added by marcihm, 5 years ago)

Syntax-file to add support for highlighting yabasic-files to the editor of mc

Line 
1# Yabasic (BP7 IDE alike)
2# This file is part of yabasic and may be copied under the terms of
3# MIT License which can be found in the file LICENSE.
4
5caseinsensitive
6
7context default yellow
8    keyword whole abs white
9    keyword whole acos white
10    keyword whole and white
11    keyword whole arraydim white
12    keyword whole arraydimension white
13    keyword whole arraysize white
14    keyword whole as white
15    keyword whole asc white
16    keyword whole asin white
17    keyword whole at white
18    keyword whole atan white
19    keyword whole beep white
20    keyword whole bell white
21    keyword whole bin white
22    keyword whole bind white
23    keyword whole bitblit white
24    keyword whole bitblt white
25    keyword whole box white
26    keyword whole break white
27    keyword whole case white
28    keyword whole ceil white
29    keyword whole chomp white
30    keyword whole chr white
31    keyword whole circle white
32    keyword whole clear white
33    keyword whole close white
34    keyword whole color white
35    keyword whole colour white
36    keyword whole compile white
37    keyword whole continue white
38    keyword whole cos white
39    keyword whole curve white
40    keyword whole data white
41    keyword whole date white
42    keyword whole dec white
43    keyword whole default white
44    keyword whole dim white
45    keyword whole do white
46    keyword whole dot white
47    keyword whole else white
48    keyword whole elseif white
49    keyword whole elsif white
50    keyword whole end white
51    keyword whole endif white
52    keyword whole eof white
53    keyword whole eor white
54    keyword whole error white
55    keyword whole execute white
56    keyword whole exit white
57    keyword whole exp white
58    keyword whole export white
59    keyword whole fi white
60    keyword whole fill white
61    keyword whole filled white
62    keyword whole for white
63    keyword whole frac white
64    keyword whole getbit white
65    keyword whole getscreen white
66    keyword whole glob white
67    keyword whole gosub white
68    keyword whole goto white
69    keyword whole hex white
70    keyword whole if white
71    keyword whole inkey white
72    keyword whole input white
73    keyword whole instr white
74    keyword whole int white
75    keyword whole interrupt white
76    keyword whole label white
77    keyword whole left white
78    keyword whole len white
79    keyword whole let white
80    keyword whole line white
81    keyword whole local white
82    keyword whole lo gwhite
83    keyword whole loop white
84    keyword whole lower white
85    keyword whole ltrim white
86    keyword whole max white
87    keyword whole mid white
88    keyword whole min white
89    keyword whole mod cyan
90    keyword whole mouseb white
91    keyword whole mousebutton white
92    keyword whole mousemod white
93    keyword whole mousemodifier white
94    keyword whole mousex white
95    keyword whole mousey white
96    keyword whole new white
97    keyword whole next white
98    keyword whole not white
99    keyword whole numparam white
100    keyword whole on white
101    keyword whole open white
102    keyword whole or white
103    keyword whole origin white
104    keyword whole pause white
105    keyword whole peek white
106    keyword whole poke white
107    keyword whole print white
108    keyword whole printer white
109    keyword whole putbit white
110    keyword whole putscreen white
111    keyword whole ran white
112    keyword whole read white
113    keyword whole reading white
114    keyword whole rect white
115    keyword whole rectangle white
116    keyword whole redim white
117    keyword whole rem brightgreen
118    keyword whole repeat white
119    keyword whole restore white
120    keyword whole return white
121    keyword whole reverse white
122    keyword whole right white
123    keyword whole rinstr white
124    keyword whole rtrim white
125    keyword whole screen white
126    keyword whole seek white
127    keyword whole sig white
128    keyword whole sin white
129    keyword whole sleep white
130    keyword whole split white
131    keyword whole sqr white
132    keyword whole sqrt white
133    keyword whole static white
134    keyword whole step white
135    keyword whole str white
136    keyword whole sub white
137    keyword whole subroutine white
138    keyword whole switch white
139    keyword whole system white
140    keyword whole tan white
141    keyword whole tell white
142    keyword whole text white
143    keyword whole then white
144    keyword whole time white
145    keyword whole to white
146    keyword whole token white
147    keyword whole triangle white
148    keyword whole trim white
149    keyword whole until white
150    keyword whole upper white
151    keyword whole using white
152    keyword whole val white
153    keyword whole wait white
154    keyword whole wend white
155    keyword whole while white
156    keyword whole window white
157    keyword whole writing white
158    keyword whole xor white
159
160    keyword // brightgreen
161
162    keyword > cyan
163    keyword < cyan
164    keyword \+ cyan
165    keyword - cyan
166    keyword \* cyan
167    keyword / cyan
168    keyword ^ cyan
169    keyword $ brown
170    keyword = cyan
171    keyword [ lightgray
172    keyword ] lightgray
173    keyword ( lightgray
174    keyword ) lightgray
175    keyword , lightgray
176    keyword . lightgray
177    keyword : lightgray
178    keyword ; lightgray
179   
180    keyword 0 brightred
181    keyword 1 brightred
182    keyword 2 brightred
183    keyword 3 brightred
184    keyword 4 brightred
185    keyword 5 brightred
186    keyword 6 brightred
187    keyword 7 brightred
188    keyword 8 brightred
189    keyword 9 brightred
190
191context " " brightcyan
192context exclusive // \n brightgreen
193context exclusive rem \n brightgreen
194
195spellcheck