Skip to content

Commit ee665c2

Browse files
authored
impr(language): add more keywords and chars to code_pascal (@fau) (monkeytypegame#6341)
### Description Added more keywords from Delphi and Free Pascal and special chars used in pascal code.
1 parent f84f850 commit ee665c2

File tree

1 file changed

+122
-0
lines changed

1 file changed

+122
-0
lines changed

frontend/static/languages/code_pascal.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,156 @@
22
"name": "code_pascal",
33
"noLazyMode": true,
44
"words": [
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+
"absolute",
37+
"abstract",
38+
"alias",
539
"and",
40+
"array",
41+
"as",
42+
"asm",
43+
"automated",
644
"begin",
745
"boolean",
846
"break",
947
"byte",
48+
"cardinal",
49+
"case",
50+
"cdecl",
51+
"class",
52+
"const",
53+
"constref",
54+
"constructor",
1055
"continue",
56+
"cppdecl",
57+
"create",
58+
"default",
59+
"destroy",
60+
"destructor",
61+
"dispinterface",
62+
"dispose",
1163
"div",
1264
"do",
1365
"double",
66+
"downto",
1467
"else",
1568
"end",
69+
"except",
70+
"exit",
71+
"export",
72+
"exports",
73+
"extended",
74+
"external",
1675
"false",
76+
"file",
77+
"finalization",
78+
"finally",
79+
"forward",
80+
"free",
81+
"function",
82+
"generic",
83+
"goto",
1784
"if",
85+
"implementation",
86+
"in",
87+
"inc",
88+
"index",
89+
"inherited",
90+
"initialization",
91+
"inline",
1892
"integer",
93+
"interface",
94+
"is",
95+
"label",
96+
"library",
97+
"local",
1998
"longint",
99+
"longword",
100+
"main",
20101
"mod",
102+
"name",
103+
"nil",
21104
"not",
105+
"object",
106+
"of",
107+
"operator",
22108
"or",
109+
"out",
110+
"overload",
111+
"override",
112+
"packed",
113+
"pascal",
114+
"private",
115+
"procedure",
116+
"program",
117+
"property",
118+
"public",
119+
"published",
120+
"raise",
121+
"read",
122+
"readln",
123+
"real",
124+
"record",
125+
"register",
126+
"reintroduce",
23127
"repeat",
128+
"resourcestring",
129+
"result",
130+
"safecall",
131+
"self",
132+
"set",
24133
"shl",
25134
"shortint",
26135
"shr",
27136
"single",
137+
"smallint",
138+
"stdcall",
139+
"string",
28140
"then",
141+
"threadvar",
29142
"true",
143+
"try",
144+
"type",
145+
"unit",
30146
"until",
147+
"uses",
148+
"var",
149+
"virtual",
31150
"while",
151+
"with",
32152
"word",
153+
"write",
154+
"writeln",
33155
"xor"
34156
]
35157
}

0 commit comments

Comments
 (0)