mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-01 05:23:37 +00:00
Add support for Raku (#803)
* Add support for Raku * [Raku] Remove single line and paragraph docs as they do not work currently * [Raku] Change code and comments to reflect the new changes
This commit is contained in:
parent
901b49a2d4
commit
6c1463b592
|
@ -985,13 +985,6 @@
|
|||
"quotes": [["\\\"", "\\\""], ["'", "'"]],
|
||||
"extensions": ["pl", "pm"]
|
||||
},
|
||||
"Perl6": {
|
||||
"name": "Rakudo",
|
||||
"line_comment": ["#"],
|
||||
"multi_line_comments": [["=begin", "=end"]],
|
||||
"quotes": [["\\\"", "\\\""], ["'", "'"]],
|
||||
"extensions": ["pl6", "pm6"]
|
||||
},
|
||||
"Pest": {
|
||||
"line_comment": ["//"],
|
||||
"quotes": [["\\\"", "\\\""], ["'", "'"]],
|
||||
|
@ -1124,6 +1117,43 @@
|
|||
"filenames": ["rakefile"],
|
||||
"extensions": ["rake"]
|
||||
},
|
||||
"Raku": {
|
||||
"shebangs": ["#!/usr/bin/raku", "#!/usr/bin/perl6"],
|
||||
"line_comment": ["#"],
|
||||
"multi_line_comments": [
|
||||
["#`(", ")"],
|
||||
["#`[", "]"],
|
||||
["#`{", "}"],
|
||||
["#`「", "」"]
|
||||
],
|
||||
"nested": true,
|
||||
"quotes": [["\\\"", "\\\""] , ["'", "'"]],
|
||||
"verbatim_quotes": [["「", "」"]],
|
||||
"doc_quotes": [
|
||||
["#|{", "}"],
|
||||
["#={", "}"],
|
||||
["#|(", ")"],
|
||||
["#=(", ")"],
|
||||
["#|[", "]"],
|
||||
["#=[", "]"],
|
||||
["#|「", "」"],
|
||||
["#=「", "」"],
|
||||
["=begin pod", "=end pod"],
|
||||
["=begin code", "=end code"],
|
||||
["=begin head", "=end head"],
|
||||
["=begin item", "=end item"],
|
||||
["=begin table", "=end table"],
|
||||
["=begin defn", "=end defn"],
|
||||
["=begin para", "=end para"],
|
||||
["=begin comment", "=end comment"],
|
||||
["=begin data", "=end data"],
|
||||
["=begin DESCRIPTION", "=end DESCRIPTION"],
|
||||
["=begin SYNOPSIS", "=end SYNOPSIS"],
|
||||
["=begin ", "=end "]
|
||||
],
|
||||
"env": ["raku", "perl6"],
|
||||
"extensions": ["raku", "rakumod", "rakutest", "pm6", "pl6", "p6"]
|
||||
},
|
||||
"Razor": {
|
||||
"multi_line_comments": [["<!--", "-->"], ["@*", "*@"]],
|
||||
"extensions": ["cshtml"]
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# 11 lines 4 code 5 comments 2 blanks
|
||||
|
||||