2
2
3
3
Compatibility reference of all built-in grammars with the [ JavaScript RegExp engine] ( /guide/regex-engines#javascript-regexp-engine-experimental ) .
4
4
5
- > Generated on Monday , December 16 , 2024
5
+ > Generated on Thursday , December 19 , 2024
6
6
>
7
7
> Version ` 1.24.2 `
8
8
>
@@ -13,8 +13,8 @@ Compatibility reference of all built-in grammars with the [JavaScript RegExp eng
13
13
| | Count |
14
14
| :-------------- | --------------------------: |
15
15
| Total Languages | 218 |
16
- | Supported | [ 199 ] ( #supported-languages ) |
17
- | Mismatched | [ 13 ] ( #mismatched-languages ) |
16
+ | Supported | [ 206 ] ( #supported-languages ) |
17
+ | Mismatched | [ 6 ] ( #mismatched-languages ) |
18
18
| Unsupported | [ 6] ( #unsupported-languages ) |
19
19
20
20
## Supported Languages
@@ -39,6 +39,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
39
39
| ballerina | ✅ OK | 230 | - | |
40
40
| bash | ✅ OK | 148 | - | |
41
41
| bat | ✅ OK | 58 | - | |
42
+ | beancount | ✅ OK | 39 | - | |
42
43
| berry | ✅ OK | 18 | - | |
43
44
| bibtex | ✅ OK | 19 | - | |
44
45
| bicep | ✅ OK | 27 | - | |
@@ -74,7 +75,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
74
75
| elixir | ✅ OK | 708 | - | |
75
76
| elm | ✅ OK | 244 | - | |
76
77
| emacs-lisp | ✅ OK | 153 | - | 22 |
77
- | erb | ✅ OK | 1312 | - | |
78
+ | erb | ✅ OK | 1786 | - | |
78
79
| erlang | ✅ OK | 147 | - | |
79
80
| fennel | ✅ OK | 31 | - | |
80
81
| fish | ✅ OK | 25 | - | |
@@ -83,8 +84,8 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
83
84
| fortran-free-form | ✅ OK | 328 | - | |
84
85
| fsharp | ✅ OK | 239 | - | |
85
86
| fsl | ✅ OK | 30 | - | |
86
- | gdresource | ✅ OK | 159 | - | |
87
- | gdscript | ✅ OK | 95 | - | |
87
+ | gdresource | ✅ OK | 158 | - | |
88
+ | gdscript | ✅ OK | 94 | - | |
88
89
| gdshader | ✅ OK | 39 | - | |
89
90
| genie | ✅ OK | 20 | - | |
90
91
| gherkin | ✅ OK | 19 | - | |
@@ -98,6 +99,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
98
99
| groovy | ✅ OK | 133 | - | |
99
100
| haml | ✅ OK | 562 | - | |
100
101
| handlebars | ✅ OK | 699 | - | |
102
+ | haskell | ✅ OK | 157 | - | |
101
103
| haxe | ✅ OK | 174 | - | |
102
104
| hcl | ✅ OK | 67 | - | |
103
105
| hjson | ✅ OK | 57 | - | |
@@ -120,6 +122,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
120
122
| jssm | ✅ OK | 30 | - | |
121
123
| jsx | ✅ OK | 376 | - | |
122
124
| julia | ✅ OK | 1168 | - | |
125
+ | kotlin | ✅ OK | 58 | - | |
123
126
| latex | ✅ OK | 283 | - | |
124
127
| lean | ✅ OK | 32 | - | |
125
128
| less | ✅ OK | 280 | - | |
@@ -131,6 +134,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
131
134
| make | ✅ OK | 51 | - | |
132
135
| marko | ✅ OK | 926 | - | |
133
136
| matlab | ✅ OK | 88 | - | |
137
+ | mdc | ✅ OK | 783 | - | |
134
138
| mdx | ✅ OK | 197 | - | |
135
139
| mermaid | ✅ OK | 134 | - | |
136
140
| mipsasm | ✅ OK | 17 | - | |
@@ -146,26 +150,29 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
146
150
| ocaml | ✅ OK | 178 | - | |
147
151
| pascal | ✅ OK | 23 | - | |
148
152
| perl | ✅ OK | 941 | - | |
153
+ | php | ✅ OK | 1131 | - | |
149
154
| plsql | ✅ OK | 45 | - | |
150
155
| postcss | ✅ OK | 49 | - | |
151
156
| powerquery | ✅ OK | 30 | - | |
152
157
| powershell | ✅ OK | 88 | - | |
153
- | prisma | ✅ OK | 26 | - | |
158
+ | prisma | ✅ OK | 28 | - | |
154
159
| prolog | ✅ OK | 26 | - | |
155
160
| proto | ✅ OK | 33 | - | |
161
+ | pug | ✅ OK | 686 | - | |
156
162
| puppet | ✅ OK | 61 | - | |
157
163
| python | ✅ OK | 218 | - | |
158
164
| qml | ✅ OK | 408 | - | |
159
165
| qmldir | ✅ OK | 7 | - | |
160
166
| qss | ✅ OK | 31 | - | |
161
167
| r | ✅ OK | 71 | - | |
162
- | racket | ✅ OK | 69 | - | 8 |
168
+ | racket | ✅ OK | 69 | - | |
163
169
| raku | ✅ OK | 52 | - | |
164
170
| reg | ✅ OK | 9 | - | |
165
171
| regexp | ✅ OK | 34 | - | |
166
172
| rel | ✅ OK | 17 | - | |
167
173
| riscv | ✅ OK | 36 | - | |
168
- | ruby | ✅ OK | 1307 | - | |
174
+ | rst | ✅ OK | 2031 | - | |
175
+ | ruby | ✅ OK | 1781 | - | |
169
176
| rust | ✅ OK | 89 | - | |
170
177
| sas | ✅ OK | 101 | - | |
171
178
| sass | ✅ OK | 69 | - | |
@@ -199,7 +206,7 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
199
206
| tsv | ✅ OK | 1 | - | |
200
207
| tsx | ✅ OK | 376 | - | |
201
208
| turtle | ✅ OK | 15 | - | |
202
- | twig | ✅ OK | 1984 | - | |
209
+ | twig | ✅ OK | 2426 | - | |
203
210
| typescript | ✅ OK | 363 | - | |
204
211
| typespec | ✅ OK | 80 | - | |
205
212
| typst | ✅ OK | 78 | - | |
@@ -235,31 +242,24 @@ In some edge cases, it's not guaranteed that the highlighting will be 100% the s
235
242
236
243
Languages that do not throw with the JavaScript RegExp engine, but will produce different results than the WASM engine. Please use with caution.
237
244
238
- | Language | Highlight Match | Patterns Parsable | Patterns Failed | Diff |
239
- | --------- | :----------------------------------------------------------------------------- | ----------------: | --------------: | ---: |
240
- | apex | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=apex ) | 187 | - | 236 |
241
- | beancount | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=beancount ) | 39 | - | 171 |
242
- | cpp | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=cpp ) | 512 | - | 8 |
243
- | haskell | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=haskell ) | 157 | - | 39 |
244
- | kotlin | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=kotlin ) | 58 | - | 1953 |
245
- | kusto | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=kusto ) | 60 | - | 40 |
246
- | markdown | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=markdown ) | 118 | - | 915 |
247
- | mdc | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=mdc ) | 783 | - | 702 |
248
- | nginx | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=nginx ) | 378 | - | 4 |
249
- | php | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=php ) | 1131 | - | 605 |
250
- | po | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=po ) | 23 | - | 423 |
251
- | pug | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=pug ) | 686 | - | 164 |
252
- | rst | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=rst ) | 1857 | - | 62 |
245
+ | Language | Highlight Match | Patterns Parsable | Patterns Failed | Diff |
246
+ | -------- | :---------------------------------------------------------------------------- | ----------------: | --------------: | ---: |
247
+ | apex | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=apex ) | 187 | - | 33 |
248
+ | cpp | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=cpp ) | 512 | - | 8 |
249
+ | kusto | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=kusto ) | 60 | - | 40 |
250
+ | markdown | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=markdown ) | 118 | - | 100 |
251
+ | nginx | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=nginx ) | 378 | - | 122 |
252
+ | po | [ 🚧 Mismatch] ( https://textmate-grammars-themes.netlify.app/?grammar=po ) | 23 | - | 114 |
253
253
254
254
## Unsupported Languages
255
255
256
- Languages that throw with the JavaScript RegExp engine, either because they contain syntax we can't polyfill yet or because the grammar contains an invalid Oniguruma regex (that would also fail when using the WASM engine, but silently). You can try these languages with the ` forgiving ` option to skip errors, but usually it's best to use the Oniguruma engine instead .
256
+ Languages that throw with the JavaScript RegExp engine, either because they contain syntax we can't polyfill yet or because the grammar contains an invalid Oniguruma regex (that would also fail when using the WASM engine, but silently). You can try these languages with the ` forgiving ` option to skip errors.
257
257
258
258
| Language | Highlight Match | Patterns Parsable | Patterns Failed | Diff |
259
259
| ---------- | :-------------- | ----------------: | --------------: | ---: |
260
260
| ada | ✅ OK | 201 | 1 | |
261
261
| hack | ❌ Error | 947 | 1 | 114 |
262
- | purescript | ❌ Error | 72 | 1 | 42 |
263
- | csharp | ❌ Error | 306 | 3 | 204 |
264
- | swift | ❌ Error | 326 | 3 | 40 |
265
- | razor | ❌ Error | 952 | 5 | 22 |
262
+ | purescript | ❌ Error | 72 | 1 | |
263
+ | csharp | ❌ Error | 306 | 3 | 148 |
264
+ | swift | ❌ Error | 326 | 3 | 8 |
265
+ | razor | ❌ Error | 952 | 5 | 14 |
0 commit comments