mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-09-13 21:11:29 +00:00
ca2fcb3bd8
* Added Fennel support Created a test file and added support in languages.json * Updated Fennel test case Input the wrong number of lines oops * Corrected the number of comment lines I am very bad at counting * Added multiline strings to the test case
19 lines
474 B
Fennel
19 lines
474 B
Fennel
;; 18 lines 8 code 5 comments 5 blanks
|
|
|
|
; this is a ; single comment
|
|
;;;; this is also a single comment ;;;;;;
|
|
|
|
; "this is a comment too!"
|
|
|
|
(local variable "I ;am a ;variable!")
|
|
|
|
; (print "\"I am commented out!\"")
|
|
(print "\"Hello world!\"") ; this is an ; end of line comment
|
|
(print "This is not a comment: ;")
|
|
(print "This is a
|
|
multiline string")
|
|
|
|
(fn somefn [x]
|
|
(print "I am some function.")
|
|
(print "My parameter is " (string.format "\"%s\"" x)))
|