mirror of https://github.com/XAMPPRocky/tokei
Add support for 8th language (#1192)
* Add support for 8th language * Update languages.json --------- Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
This commit is contained in:
parent
bf83c0a01a
commit
029045a5a3
|
|
@ -472,6 +472,14 @@
|
|||
"line_comment": [";"],
|
||||
"extensions": ["edn"]
|
||||
},
|
||||
"Eighth": {
|
||||
"name": "8th",
|
||||
"line_comment": ["\\\\ ", "-- "],
|
||||
"multi_line_comments": [["(*", "*)"]],
|
||||
"nested": true,
|
||||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["8th"]
|
||||
},
|
||||
"Elisp": {
|
||||
"name": "Emacs Lisp",
|
||||
"line_comment": [";"],
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
\ 22 lines 9 code 8 comments 5 blanks
|
||||
|
||||
(* multiline comments
|
||||
(* a nested
|
||||
comment *)
|
||||
*
|
||||
*)
|
||||
|
||||
-- here's a single line comment
|
||||
"Hello, " var, foo -- line ending comment
|
||||
|
||||
\ here's another single line comment
|
||||
"!" var, bar \ a different line ending comment
|
||||
|
||||
: hello \ s --
|
||||
foo @ s:<+
|
||||
bar @ s:+
|
||||
. cr
|
||||
;
|
||||
|
||||
"World" hello
|
||||
bye
|
||||
Loading…
Reference in New Issue