-
Notifications
You must be signed in to change notification settings - Fork 5
/
cloc-lang-defs.txt
2685 lines (2684 loc) · 64.6 KB
/
cloc-lang-defs.txt
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ROSSRV
filter remove_matches ^\s*$
extension srv
3rd_gen_scale 0.50
ROSCFG
filter remove_matches ^\s*$
extension cfg
3rd_gen_scale 0.50
ABAP
filter remove_matches ^\*
extension abap
3rd_gen_scale 5.00
AMPLE
filter remove_matches ^\s*//
extension ample
extension dofile
extension startup
3rd_gen_scale 2.00
ANTLR Grammar
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension g
extension g4
3rd_gen_scale 2.00
APL
filter remove_matches ^\s*⍝
extension apl
extension apla
extension aplc
extension aplf
extension apli
extension apln
extension aplo
extension dyalog
extension dyapp
extension mipage
3rd_gen_scale 2.50
ASP
filter remove_matches ^\s*\47
extension asa
extension ashx
extension asp
extension axd
3rd_gen_scale 1.29
end_of_line_continuation \\$
ASP.NET
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C
filter remove_between_general <%-- --%>
filter remove_between_general <!-- -->
extension asax
extension ascx
extension asmx
extension aspx
extension master
extension sitemap
extension webinfo
3rd_gen_scale 1.29
end_of_line_continuation \\$
ActionScript
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension as
3rd_gen_scale 1.36
end_of_line_continuation \\$
Ada
filter remove_matches ^\s*--
extension ada
extension adb
extension ads
extension pad
3rd_gen_scale 0.52
end_of_line_continuation \\$
Agda
filter remove_haskell_comments >filename<
extension agda
extension lagda
3rd_gen_scale 2.11
AnsProlog
filter remove_between_general %* *%
filter remove_matches ^\s*\%
filter remove_inline (//|\%).*$
extension lp
3rd_gen_scale 1.25
Ant
filter remove_html_comments
filter call_regexp_common HTML
extension build.xml
3rd_gen_scale 1.90
Ant/XML
filter remove_html_comments
filter call_regexp_common HTML
filename build.xml
3rd_gen_scale 1.90
Apex Class
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
3rd_gen_scale 1.50
Apex Trigger
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension trigger
3rd_gen_scale 1.40
AppleScript
filter remove_matches ^\s*--
filter rm_comments_in_strings " (* *)
filter remove_between_general (* *)
filter remove_inline --.*$
extension applescript
3rd_gen_scale 4.00
Arduino Sketch
filter replace_regex \xa0
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension ino
extension pde
3rd_gen_scale 1.00
ArkTs
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension ets
3rd_gen_scale 2.50
AsciiDoc
filter remove_between_general //// ////
filter remove_matches ^\s*\/\/
extension adoc
extension asciidoc
3rd_gen_scale 1.50
AspectJ
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension aj
3rd_gen_scale 1.36
end_of_line_continuation \\$
Assembly
filter remove_matches ^\s*#
filter remove_matches ^\s*;
filter call_regexp_common C++
filter remove_matches ^\s*\@
filter remove_matches ^\s*\|
filter remove_matches ^\s*!
filter remove_matches ^\s*--
filter remove_inline ;.*$
filter remove_inline \@.*$
filter remove_inline \|.*$
filter remove_inline !.*$
filter remove_inline #.*$
filter remove_inline --.*$
filter remove_matches ^\*
extension S
extension a51
extension asm
extension nasm
extension s
3rd_gen_scale 0.25
end_of_line_continuation \\$
Astro
filter remove_html_comments
filter call_regexp_common HTML
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension astro
3rd_gen_scale 3.00
Asymptote
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension asy
3rd_gen_scale 2.50
AutoHotkey
filter remove_matches ^\s*;
filter remove_inline ;.*$
extension ahk
extension ahkl
3rd_gen_scale 1.29
Bazel
filter remove_matches ^\s*#
filter remove_inline #.*$
extension BUILD
filename BUILD
filename WORKSPACE
3rd_gen_scale 1.00
BizTalk Orchestration
filter remove_matches ^\s*#
filter remove_html_comments
filter call_regexp_common HTML
extension odx
3rd_gen_scale 1.00
BizTalk Pipeline
filter remove_html_comments
filter call_regexp_common HTML
extension btp
3rd_gen_scale 1.00
Blade
filter remove_between_general {{-- --}}
filter remove_html_comments
extension blade
extension blade.php
3rd_gen_scale 2.00
Bourne Again Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension bash
script_exe bash
3rd_gen_scale 3.81
end_of_line_continuation \\$
Bourne Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension sh
script_exe sh
3rd_gen_scale 3.81
end_of_line_continuation \\$
BrightScript
filter remove_matches ^\s*rem
filter remove_matches ^\s*'
extension brs
3rd_gen_scale 2.00
C
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension c
extension cats
extension ec
extension idc
extension pgc
3rd_gen_scale 0.77
end_of_line_continuation \\$
C Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension csh
extension tcsh
script_exe csh
script_exe tcsh
3rd_gen_scale 3.81
end_of_line_continuation \\$
C#
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
3rd_gen_scale 1.36
end_of_line_continuation \\$
C# Designer
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension designer.cs
3rd_gen_scale 1.36
end_of_line_continuation \\$
C# Generated
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
3rd_gen_scale 1.36
C++
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension C
extension CPP
extension c++
extension c++m
extension cc
extension ccm
extension cpp
extension cppm
extension cxx
extension cxxm
extension h++
extension inl
extension ipp
extension ixx
extension pcc
extension tcc
extension tpp
3rd_gen_scale 1.51
end_of_line_continuation \\$
C/C++ Header
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension H
extension h
extension hh
extension hpp
extension hxx
3rd_gen_scale 1.00
end_of_line_continuation \\$
CCS
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C
extension ccs
3rd_gen_scale 5.33
CMake
filter remove_matches ^\s*#
filter remove_inline #.*$
extension CMakeLists.txt
extension cmake
extension cmake.in
filename CMakeLists.txt
filename cmakelists.txt
3rd_gen_scale 1.00
end_of_line_continuation \\$
COBOL
filter remove_cobol_comments
extension CBL
extension COB
extension cbl
extension ccp
extension cob
extension cobol
extension cpy
3rd_gen_scale 1.04
CSON
filter remove_matches ^\s*#
filter remove_inline #.*$
extension cson
3rd_gen_scale 2.50
CSS
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C
extension css
3rd_gen_scale 1.00
CSV
filter remove_matches ^\s*$
extension csv
3rd_gen_scale 0.10
CUDA
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension cu
extension cuh
3rd_gen_scale 1.00
Cairo
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter remove_matches ^\s*#
filter call_regexp_common C++
extension cairo
3rd_gen_scale 1.00
Cake Build Script
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension cake
3rd_gen_scale 1.36
end_of_line_continuation \\$
Carbon
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension carbon
3rd_gen_scale 1.51
Chapel
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension chpl
3rd_gen_scale 2.96
Circom
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension circom
3rd_gen_scale 1.00
Clean
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension dcl
extension icl
3rd_gen_scale 2.50
Clojure
filter remove_matches ^\s*;
filter remove_matches ^\s*#_
extension boot
extension cl2
extension clj
extension cljs.hl
extension cljscm
extension cljx
extension hic
extension riemann.config
3rd_gen_scale 1.25
ClojureC
filter remove_matches ^\s*;
extension cljc
3rd_gen_scale 1.25
ClojureScript
filter remove_matches ^\s*;
extension cljs
3rd_gen_scale 1.25
CoCoA 5
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
filter remove_matches ^\s*--
filter remove_inline --.*$
extension c5
extension cocoa5
extension cocoa5server
extension cpkg5
3rd_gen_scale 1.04
CoffeeScript
filter remove_matches ^\s*#
filter remove_inline #.*$
extension _coffee
extension cakefile
extension cjsx
extension coffee
extension iced
3rd_gen_scale 2.00
ColdFusion
filter remove_html_comments
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common HTML
extension cfm
extension cfml
3rd_gen_scale 4.00
ColdFusion CFScript
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension cfc
3rd_gen_scale 4.00
Constraint Grammar
filter remove_matches ^\s*#
filter remove_inline #.*$
extension cg3
extension rlx
3rd_gen_scale 4.00
Containerfile
filter remove_matches ^\s*#
filter remove_inline #.*$
extension Containerfile
filename Containerfile
3rd_gen_scale 2.00
Coq
filter remove_between_general (* *)
3rd_gen_scale 5.00
Crystal
filter remove_matches ^\s*#
filter remove_inline #.*$
extension cr
script_exe crystal
3rd_gen_scale 2.50
Crystal Reports
filter remove_matches ^\s*//
3rd_gen_scale 4.00
Cucumber
filter remove_matches ^\s*#
extension feature
3rd_gen_scale 3.00
Cython
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter remove_matches ^\s*#
filter docstring_to_C
filter call_regexp_common C
filter remove_inline #.*$
extension pxd
extension pxi
extension pyx
3rd_gen_scale 3.80
end_of_line_continuation \\$
D
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter rm_comments_in_strings " /+ +/
filter remove_between_general /+ +/
filter call_regexp_common C++
script_exe dmd
3rd_gen_scale 1.70
end_of_line_continuation \\$
DAL
filter remove_between_general [ ]
extension da
3rd_gen_scale 1.50
DIET
filter remove_pug_block
filter remove_matches ^\s*//
filter remove_inline //.*$
extension dt
3rd_gen_scale 2.00
DITA
filter remove_html_comments
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common HTML
extension dita
3rd_gen_scale 1.90
DOORS Extension Language
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension dxl
3rd_gen_scale 1.50
DOS Batch
filter remove_matches ^\s*rem
filter remove_matches ^\s*::
extension BAT
extension BTM
extension CMD
extension bat
extension btm
extension cmd
3rd_gen_scale 0.63
DTD
filter remove_html_comments
filter call_regexp_common HTML
extension dtd
3rd_gen_scale 1.90
Dafny
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension dfy
3rd_gen_scale 3.00
Dart
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension dart
3rd_gen_scale 2.00
end_of_line_continuation \\$
Delphi Form
filter remove_between_regex \{[^$] }
filter remove_between_general (* *)
filter remove_matches ^\s*//
extension dfm
3rd_gen_scale 2.00
DenizenScript
filter remove_matches ^\s*#
filter remove_inline #.*$
extension dsc
3rd_gen_scale 1.00
Derw
filter remove_matches ^\s*--
filter remove_between_general {- -}
filter remove_inline --.*$
extension derw
3rd_gen_scale 3.00
Dockerfile
filter remove_matches ^\s*#
filter remove_inline #.*$
extension Dockerfile
extension dockerfile
filename Dockerfile
filename Dockerfile.cmake
filename Dockerfile.m4
filename dockerfile
filename dockerfile.cmake
filename dockerfile.m4
3rd_gen_scale 2.00
Drools
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension drl
3rd_gen_scale 2.00
ECPP
filter remove_between_general <%doc> </%doc>
filter remove_between_general <# #>
filter call_regexp_common HTML
extension ecpp
3rd_gen_scale 1.90
EEx
filter remove_between_general <%# %>
extension eex
3rd_gen_scale 2.00
EJS
filter remove_between_general <%# %>
filter remove_html_comments
extension ejs
3rd_gen_scale 2.50
ERB
filter remove_between_general <%# %>
extension ERB
extension erb
3rd_gen_scale 2.00
Elixir
filter remove_matches ^\s*#
filter elixir_doc_to_C
filter call_regexp_common C
filter remove_inline #.*$
extension ex
extension exs
3rd_gen_scale 2.11
Elm
filter remove_haskell_comments >filename<
extension elm
3rd_gen_scale 2.50
Embedded Crystal
filter remove_between_general <%# %>
extension ecr
3rd_gen_scale 2.00
Erlang
filter remove_matches ^\s*%
filter remove_inline %.*$
extension app.src
extension emakefile
extension erl
extension hrl
extension rebar.config
extension rebar.config.lock
extension rebar.lock
extension xrl
extension yrl
script_exe escript
3rd_gen_scale 2.11
Expect
filter remove_matches ^\s*#
filter remove_inline #.*$
extension exp
3rd_gen_scale 2.00
end_of_line_continuation \\$
F#
filter remove_between_general (* *)
filter remove_matches ^\s*//
extension fsi
3rd_gen_scale 2.50
F# Script
filter call_regexp_common Pascal
filter remove_matches ^\s*//
extension fsx
3rd_gen_scale 2.50
FXML
filter remove_html_comments
filter call_regexp_common HTML
extension fxml
3rd_gen_scale 1.90
Fennel
filter remove_matches ^\s*;
filter remove_inline ;.*$
extension fnl
3rd_gen_scale 2.50
Finite State Language
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension fsl
extension jssm
3rd_gen_scale 2.00
Fish Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension fish
3rd_gen_scale 3.81
Flatbuffers
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
filter remove_inline //.*$
extension fbs
3rd_gen_scale 2.50
Focus
filter remove_matches ^\s*\-\*
extension focexec
3rd_gen_scale 1.90
Forth
filter remove_matches ^\s*\\.*$
filter Forth_paren_to_C
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
filter remove_inline \\.*$
extension 4th
extension e4
extension f83
extension fb
extension forth
extension fpm
extension fr
extension frt
extension ft
extension fth
extension rx
3rd_gen_scale 1.25
Fortran 77
filter remove_f77_comments
filter remove_inline \!.*$
extension F
extension F77
extension FOR
extension FTN
extension f77
extension ftn
extension pfo
3rd_gen_scale 0.75
Fortran 90
filter remove_f77_comments
filter remove_f90_comments
filter remove_inline \!.*$
extension F90
extension f90
3rd_gen_scale 1.00
Fortran 95
filter remove_f77_comments
filter remove_f90_comments
filter remove_inline \!.*$
extension F95
extension f95
3rd_gen_scale 1.13
Freemarker Template
filter remove_between_general <#-- -->
extension ftl
3rd_gen_scale 1.48
Futhark
filter remove_matches ^\s*--
extension fut
3rd_gen_scale 3.00
end_of_line_continuation \\$
GDScript
filter remove_matches ^\s*#
filter remove_inline #.*$
extension gd
3rd_gen_scale 2.50
GLSL
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension comp
extension fp
extension frag
extension frg
extension fsh
extension fshader
extension geo
extension geom
extension glsl
extension glslv
extension gshader
extension tesc
extension tese
extension vert
extension vrx
extension vsh
extension vshader
3rd_gen_scale 2.00
Glade
filter remove_html_comments
filter call_regexp_common HTML
extension glade
3rd_gen_scale 2.00
Gleam
filter remove_matches ^\s*//
filter remove_inline //.*$
extension gleam
3rd_gen_scale 2.50
Go
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
filter remove_inline //.*$
extension go
extension ʕ◔ϖ◔ʔ
3rd_gen_scale 2.50
end_of_line_continuation \\$
Godot Resource
filter remove_matches ^\s*;
extension tres
3rd_gen_scale 2.50
Godot Scene
filter remove_matches ^\s*;
extension tscn
3rd_gen_scale 2.50
Godot Shaders
filter remove_matches ^\s*//
filter remove_inline //.*$
extension gdshader
3rd_gen_scale 2.50
Gradle
filter remove_inline //.*$
filter replace_between_regex (["'])(.*?/)(\*.*?)\1 (.*?) "$1$2$1 + $1$3$1$4" 0
filter rm_comments_in_strings """ /* */ 1
filter rm_comments_in_strings """ // 1
filter rm_comments_in_strings ''' /* */ 1
filter rm_comments_in_strings ''' // 1
filter call_regexp_common C++
extension gradle
extension gradle.kts
3rd_gen_scale 4.00
Grails
filter remove_html_comments
filter call_regexp_common HTML
filter remove_jsp_comments
filter add_newlines
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension gsp
3rd_gen_scale 1.48
GraphQL
filter remove_matches ^\s*#
filter docstring_to_C
filter call_regexp_common C
filter remove_inline #.*$
extension gql
extension graphql
extension graphqls
3rd_gen_scale 4.00
Groovy
filter remove_inline //.*$
filter replace_between_regex (["'])(.*?/)(\*.*?)\1 (.*?) "$1$2$1 + $1$3$1$4" 0
filter rm_comments_in_strings """ /* */ 1
filter rm_comments_in_strings """ // 1
filter rm_comments_in_strings ''' /* */ 1
filter rm_comments_in_strings ''' // 1
filter call_regexp_common C++
extension gant
extension groovy
extension grt
extension gtpl
extension gvy
extension jenkinsfile
script_exe groovy
3rd_gen_scale 4.10
HCL
filter remove_matches ^\s*#
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension hcl
extension nomad
extension tf
extension tfvars
3rd_gen_scale 2.50
HLSL
filter remove_inline //.*$
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension cg
extension cginc
extension fxh
extension hlsl
extension hlsli
extension shader
3rd_gen_scale 2.00
HTML
filter remove_html_comments
filter call_regexp_common HTML
extension htm
extension html
extension html.hl
extension xht
3rd_gen_scale 1.90
HTML EEx
filter remove_matches ^\s*<% #
filter remove_between_general <%!-- --%>
extension heex
3rd_gen_scale 3.00
Haml
filter remove_haml_block
filter remove_html_comments
filter remove_matches ^\s*/\s*\S+
filter remove_matches ^\s*-#\s*\S+
extension haml
extension haml.deface
3rd_gen_scale 2.50
Handlebars
filter remove_between_general {{!-- --}}
filter remove_between_general {{! }}
filter remove_html_comments
extension handlebars
extension hbs
3rd_gen_scale 2.50
Harbour
filter remove_matches ^\s*\&\&
filter remove_matches ^\s*\*
filter remove_matches ^\s*NOTE
filter remove_matches ^\s*note
filter remove_matches ^\s*Note
filter remove_inline //.*$
filter remove_inline \&\&.*$
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension hb
3rd_gen_scale 2.00
Hare
filter rm_comments_in_strings " //
filter remove_matches //.*$
extension ha
3rd_gen_scale 2.50
Haskell
filter remove_haskell_comments >filename<
extension hs
extension hsc
extension lhs
3rd_gen_scale 2.11
Haxe
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension hx
extension hxsl
3rd_gen_scale 2.00
HolyC
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension HC
3rd_gen_scale 2.50
Hoon
filter remove_matches ^\s*:[:><]
filter remove_inline :[:><].*$
extension hoon
3rd_gen_scale 2.00
IDL
filter remove_matches ^\s*;
extension dlm
extension idl
script_exe idl
3rd_gen_scale 3.80
end_of_line_continuation \$\$
INI
filter remove_matches ^\s*;
extension buildozer.spec
extension editorconfig
extension ini
extension lektorproject
extension prefs
3rd_gen_scale 1.00
IPL
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension ipl
3rd_gen_scale 2.00
Idris
filter remove_haskell_comments >filename<
filter remove_matches ^\s*\|{3}
extension idr
3rd_gen_scale 2.00
Igor Pro
filter remove_matches ^\s*//
filter remove_inline //.*$
extension ipf
3rd_gen_scale 4.00
end_of_line_continuation \$
Imba
filter remove_matches ^\s*#\s
filter remove_inline #\s.*$
filter remove_between_regex ### ###
extension imba
3rd_gen_scale 3.00
InstallShield
filter remove_html_comments
filter call_regexp_common HTML
extension ism
3rd_gen_scale 1.90
JCL
filter remove_jcl_comments
extension jcl
3rd_gen_scale 1.67
JSON
filter remove_matches ^\s*$
extension arcconfig
extension avsc
extension composer.lock
extension geojson
extension gltf
extension har
extension htmlhintrc
extension json
extension json-tmlanguage
extension jsonl
extension mcmeta
extension mcmod.info
extension tern-config
extension tern-project
extension tfstate
extension tfstate.backup
extension topojson
extension watchmanconfig
extension webapp
extension webmanifest
extension yyp
3rd_gen_scale 2.50
JSON5
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++