-
Notifications
You must be signed in to change notification settings - Fork 0
/
applescript.lang
42 lines (33 loc) · 1.55 KB
/
applescript.lang
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
# language definition for AppleScript
comment start "--"
environment comment delim "(*" "*)" multiline begin
include "url.lang"
include "todo.lang"
end
vardef SPECIALCHAR = '\\.'
environment string delim "\"" "\"" begin
specialchar = $SPECIALCHAR
end
keyword = "and|as|at|beginning|considering|contain|contains|does|div|else|end",
"equal|error|every|exit|first|from|get|global|greater|if|ignoring|in|is|last",
"local|me|mod|my|not|of|on|or|property|reopen|repeat|return|script|set|tell",
"than|the|then|to|transaction|try|with|without|which|while|whose",
"AppleScript|access|activate|after|alias|application|ascending|ASCII|at",
"attached|before|box|button|buttons|case|cell|cells|character|characters",
"choose|class|close|column|columns|content|contents|control|controls",
"copy|count|current|data|date|day|default|delay|delete|delimiter",
"descending|desktop|dialog|display|document",
"documents|domain|duplicate|enabled|ends|eof|equal|entry",
"entries|exists|false|fields|field|file|files|folder|folders",
"for|icon|icons|indicator|indicators|item|items",
"length|list|load|location|localized|make|matrix|menu|menus",
"missing|month|months|name|new|number|offset|open|order|panel",
"panels|path|popup|print|process|progress",
"properties|quit|read|response|row|rows|scroll|select",
"selected|selection|sheet|size|sort|sorted|source|specification",
"start|starting|stop|string|table|text|title|true",
"Unicode|update|user|value|visible|view|views|window|windows|write|year|years"
include "function.lang"
cbracket = "{|}"
include "symbols.lang"
include "number.lang"