| 1 |
|
| 2 |
[ |
| 3 |
"PRINT" |
| 4 |
"LET" |
| 5 |
"IF" |
| 6 |
"THEN" |
| 7 |
"GOTO" |
| 8 |
"GOSUB" |
| 9 |
"RETURN" |
| 10 |
"FOR" |
| 11 |
"TO" |
| 12 |
"STEP" |
| 13 |
"NEXT" |
| 14 |
"INPUT" |
| 15 |
"END" |
| 16 |
"REM" |
| 17 |
"DATA" |
| 18 |
"READ" |
| 19 |
"DIM" |
| 20 |
] @keyword |
| 21 |
|
| 22 |
|
| 23 |
[ |
| 24 |
"AND" |
| 25 |
"and" |
| 26 |
"OR" |
| 27 |
"or" |
| 28 |
"NOT" |
| 29 |
] @keyword.operator |
| 30 |
|
| 31 |
|
| 32 |
(comment) @comment |
| 33 |
(rem_statement) @comment |
| 34 |
|
| 35 |
|
| 36 |
(function_call) @function |
| 37 |
|
| 38 |
|
| 39 |
(line_number) @constant.numeric |
| 40 |
(number) @constant.numeric |
| 41 |
|
| 42 |
|
| 43 |
(string) @string |
| 44 |
|
| 45 |
|
| 46 |
[ |
| 47 |
"=" |
| 48 |
"<>" |
| 49 |
"<" |
| 50 |
">" |
| 51 |
"<=" |
| 52 |
">=" |
| 53 |
"+" |
| 54 |
"-" |
| 55 |
"*" |
| 56 |
"/" |
| 57 |
"^" |
| 58 |
] @operator |
| 59 |
|
| 60 |
|
| 61 |
[ |
| 62 |
"(" |
| 63 |
")" |
| 64 |
] @punctuation.bracket |
| 65 |
|
| 66 |
[ |
| 67 |
"," |
| 68 |
";" |
| 69 |
] @punctuation.delimiter |
| 70 |
|
| 71 |
|
| 72 |
(identifier) @variable |