lightbend-labs / cloc-plugin

count lines of code. used in Scala 2 community build; also a near-minimal example Scala 2 compiler plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

some code I kludged together to get a count of lines of code compiled in the Scala community build

rather than just a raw line count, it uses cloc to get a proper count that omits comments and blank lines

context: scala/community-build#59

also serves as a near-minimal example of a Scala compiler plugin for my "Compiler Plugins 101" talk (video, slides)

About

count lines of code. used in Scala 2 community build; also a near-minimal example Scala 2 compiler plugin

License:Apache License 2.0


Languages

Language:Scala 100.0%