Closed mgsloan closed 6 years ago
Cool tool! Just found it because sloccount refuses to work any more. This is far faster!
sloccount
With the .rs file example here, tokei correctly reports 1 line of code, whereas loc incorrectly reports 14 lines of code.
Haskell also has nestable block comments:
{- {- Nested comment -} -- Note: still commented fibs :: [Int] fibs = 1 : 1 : zipWith (+) fibs (tail fibs) -} main :: IO () main = print [1..]
tokei correctly reports 2 lines of code, whereas loc incorrectly reports 5 lines.
should be good now, added this as a test file
Great, thanks!!
Cool tool! Just found it because
sloccount
refuses to work any more. This is far faster!With the .rs file example here, tokei correctly reports 1 line of code, whereas loc incorrectly reports 14 lines of code.
Haskell also has nestable block comments:
tokei correctly reports 2 lines of code, whereas loc incorrectly reports 5 lines.