Closed mpadge closed 3 years ago
cloc
uses this language definition-by-extension scheme, and identifies comments via the schema that starts here.
TODO: Replace internal R/file-types-dict.R
with this JSON equivalent from tokei
, of this almost equivalent one from scc
.
The whitespace fn effectively does the same thing, plus a bit more, and is way faster:
Created on 2021-06-11 by the reprex package (v2.0.0.9000)
Then don't have to worry about non-CRAN status of
cloc
, so this package could go straight to CRAN :rocket: