tokei/tests/data/fennel.fnl
Slope ca2fcb3bd8
Fennel support (#880)
* 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
2022-05-17 07:06:20 +02:00

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)))