-
Notifications
You must be signed in to change notification settings - Fork 8
/
cloc_definitions.txt
2101 lines (2101 loc) · 49.6 KB
/
cloc_definitions.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
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
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
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
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
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 call_regexp_common C++
filter remove_matches ^\s*;
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 \\$
AutoHotkey
filter remove_matches ^\s*;
filter remove_inline ;.*$
extension ahk
extension ahkl
3rd_gen_scale 1.29
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++
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension C
extension CPP
extension c++
extension cc
extension cpp
extension cxx
extension h++
extension inl
extension ipp
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
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
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
Chapel
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension chpl
3rd_gen_scale 2.96
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*;
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
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
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
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
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 \\$
Dockerfile
filter remove_matches ^\s*#
filter remove_inline #.*$
filename Dockerfile
filename Dockerfile.build
filename Dockerfile.test
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
Fish Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension fish
3rd_gen_scale 3.81
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
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
Gencat NLS
filter remove_matches ^\$ .*$
extension msg
3rd_gen_scale 1.50
end_of_line_continuation \\$
Glade
filter remove_html_comments
filter call_regexp_common HTML
extension glade
3rd_gen_scale 2.00
Go
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
filter remove_inline //.*$
extension go
3rd_gen_scale 2.50
end_of_line_continuation \\$
Gradle
filter remove_inline //.*$
filter replace_between_regex (["'])(.*?/)(\*.*?)\g1 (.*?) "$1$2$1 + $1$3$1$4"
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 remove_inline #.*$
extension gql
extension graphql
extension graphqls
3rd_gen_scale 4.00
Groovy
filter remove_inline //.*$
filter replace_between_regex (["'])(.*?/)(\*.*?)\g1 (.*?) "$1$2$1 + $1$3$1$4"
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
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
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
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 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++
extension json5
3rd_gen_scale 2.50
end_of_line_continuation \\$
JSP
filter remove_html_comments
filter call_regexp_common HTML
filter remove_jsp_comments
filter remove_matches ^\s*//
filter add_newlines
filter call_regexp_common C
extension jsp
extension jspf
3rd_gen_scale 1.48
JSX
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension jsx
3rd_gen_scale 1.48
end_of_line_continuation \\$
Jam
filter remove_matches ^\s*#
filter remove_inline #.*$
filename Jamfile
filename Jamrules
3rd_gen_scale 2.00
Java
filter replace_regex \\$
filter replace_between_regex (["'])(.*?/\*)\g1 (.*?) "xx"
filter replace_between_regex (["'])(.*?\*/)\g1 (.*?) "xx"
filter call_regexp_common C++
extension java
3rd_gen_scale 1.36
JavaScript
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension _js
extension bones
extension es6
extension jake
extension jakefile
extension js
extension jsb
extension jscad
extension jsfl
extension jsm
extension jss
extension mjs
extension njs
extension pac
extension sjs
extension ssjs
extension xsjs
extension xsjslib
3rd_gen_scale 1.48
end_of_line_continuation \\$
JavaServer Faces
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension jsf
3rd_gen_scale 1.50
Julia
filter remove_between_general #= =#
filter remove_matches ^\s*#
filter remove_inline #.*$
3rd_gen_scale 4.00
Jupyter Notebook
filter jupyter_nb
filter remove_matches ^\s*$
extension ipynb
3rd_gen_scale 4.20
Kermit
filter remove_matches ^\s*#
filter remove_matches ^\s*;
filter remove_inline #.*$
extension ksc
script_exe kermit
3rd_gen_scale 2.00
end_of_line_continuation \\$
Korn Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension ksh
script_exe ksh
3rd_gen_scale 3.81
end_of_line_continuation \\$
Kotlin
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension kt
extension ktm
extension kts
3rd_gen_scale 2.00
LESS
filter rm_comments_in_strings " /* */
filter rm_comments_in_strings " //
filter call_regexp_common C++
extension less
3rd_gen_scale 1.50
end_of_line_continuation \\$
LFE
filter remove_matches ^\s*;
filter remove_between_general #| |#
extension lfe
3rd_gen_scale 1.25
Lean
filter remove_between_general /- -/
filter remove_matches ^\s*--
filter remove_inline --.*$
extension hlean
extension lean
3rd_gen_scale 3.00
Lisp
filter remove_matches ^\s*;
filter remove_between_general #| |#
extension asd
extension el
extension lisp
extension lsp
3rd_gen_scale 1.25
Literate Idris
filter remove_matches ^[^>]
extension lidr
3rd_gen_scale 2.00
LiveLink OScript
filter remove_matches ^\s*//
extension oscript
3rd_gen_scale 3.50
Logtalk
filter remove_matches ^\s*\%
filter call_regexp_common C
filter remove_inline (//|\%).*$
extension lgt
extension logtalk
3rd_gen_scale 2.00
Lua
filter remove_between_general --[=====[ ]=====]
filter remove_between_general --[====[ ]====]
filter remove_between_general --[===[ ]===]
filter remove_between_general --[==[ ]==]
filter remove_between_general --[=[ ]=]
filter remove_between_general --[[ ]]
filter remove_matches ^\s*\-\-
extension lua
extension nse
extension p8
extension pd_lua
extension rbxs
extension wlua
script_exe lua
3rd_gen_scale 4.00
end_of_line_continuation \\$
MATLAB
filter remove_matches ^\s*%
filter remove_inline %.*$
3rd_gen_scale 4.00
end_of_line_continuation \.\.\.\s*$
MSBuild script
filter remove_html_comments
filter call_regexp_common HTML
extension csproj
extension vbproj
extension vcproj
extension wdproj
extension wixproj
3rd_gen_scale 1.90
MUMPS
filter remove_matches ^\s*;
extension mps
3rd_gen_scale 4.21
MXML
filter remove_html_comments
filter call_regexp_common HTML
filter remove_matches ^\s*//
filter add_newlines
filter call_regexp_common C
extension mxml
3rd_gen_scale 1.90
end_of_line_continuation \\$
Mako
filter remove_matches ##.*$
extension mako
extension mao
3rd_gen_scale 1.50
Markdown
filter remove_between_regex \[(comment|\/\/)?\]\s*:?\s*(<\s*>|#)?\s*\(.*? .*?\)
extension contents.lr
extension markdown
extension md
extension mdown
extension mdwn
extension mdx
extension mkd
extension mkdn
extension mkdown
extension ronn
extension workbook
3rd_gen_scale 1.00
Mathematica
filter remove_between_general (* *)
extension cdf
extension ma
extension mathematica
extension mt
extension nbp
extension wl
extension wlt
3rd_gen_scale 5.00
Maven
filter remove_html_comments
filter call_regexp_common HTML
extension pom
extension pom.xml
3rd_gen_scale 1.90
Maven/XML
filter remove_html_comments
filter call_regexp_common HTML
filename pom.xml
3rd_gen_scale 2.50
Mercury