This repository was archived by the owner on Jan 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvgl.YAML-tmLanguage
More file actions
73 lines (57 loc) · 2.14 KB
/
Copy pathvgl.YAML-tmLanguage
File metadata and controls
73 lines (57 loc) · 2.14 KB
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
# [PackageDev] target_format: plist, ext: tmLanguage
---
name: VGL
scopeName: source.vgl
fileTypes: [rpf,caf,laf]
uuid: 2f5ed3d7-820b-4b39-bbc7-eca52542045b
patterns:
- name: comment.block.vgl
comment: Comments (block or inline)
begin: '{'
end: '}'
- name: storage.type.vgl
comment: variable input types
match: VALUE
- name: constant.other.vgl
comment: Environmentals
match: smp\$([A-Za-z][A-Za-z0-9_]+)
- name: constant.other.vgl
comment: Default VGL Libraries
match: \$([A-Za-z][A-Za-z0-9_]+)
- name: constant.other.vgl
comment: Default C Libraries
match: STD_([A-Za-z][A-Za-z0-9_]+)
- name: entity.name.vgl
comment: custom libraries
match: LIB_FILEKIT
- name: constant.language.vgl
comment: Definitions
match: (GLOBAL|ROUTINE|ENDROUTINE|NOW|INSTANCE)
- name: support.type.vgl
comment: options
match: (LIBRARY|STANDARD_LIBRARY|NAME|COMPILE_OPTION|WINDOWS|FILE|DATE|MODE|NOTPROTECTED|DEBUG|NOWAIT|INTERACTIVE|QUIETLY|NOWAIT|ARRAY_SIZE|WRITE TRANSACTION|READ TRANSACTION|current_file|current_line|action_status)
- name: support.function.vgl
comment: sytem functions
match: (JOIN|EXIT|SET|START|DECLARE|ENABLE|SPAWN|READ|WRITE|ASCII|LOGICAL|CONSTANT|RESTORE|RIGHTSTRING|LEFTSTRING|STRINGLENGTH|SPLITWORDS|STRIP|TOUPPER|SUBSTRING|INDEX|ARRAY)
- name: support.function.vgl
comment: database functions
match: (UPDATE|SELECT|COMMIT|ASSIGN)
- name: variable.parameter.vgl
comment: sub options and some indicators
match: (FORMAT|ACTIVE|COMITTED|FOUND_MATCH|EMPTY)
- name: string.quoted.vgl
comment: output destination
match: ("DEFER/"|"DISPLAY/"|"PRINTER/"|"MAIL/"|"LOCAL/"|"DEFAULT_LABEL"|"DEFAULT_TEXT"|"EDIT/")
- name: string.unquoted.vgl
comment: variables
match: v_([A-Za-z][A-Za-z0-9_]+)
- name: keyword.control.vgl
comment: flow / control indicators
match: (IF|ELSE|THEN|ENDIF|REPEAT|UNTIL|DO|WHILE|ENDWHILE|FOR|WHERE|AND|NOT)
- name: keyword.operator.vgl
comment: logical operators
match: (TRUE|FALSE|EXISTS|=|<>|>|<|!=)
name: entity.name.function.vgl
comment: routine functions
match: (flash_message|write_line_to_file|write_log|size_of_array|start_file_search|start_file_copy|start_file_deletion)
...