blackducksoftware / ohcount4j

Line counting and language identification tool
Apache License 2.0
18 stars 8 forks source link

add support for Kotlin programming language #21

Closed bschineller closed 8 years ago

bschineller commented 8 years ago

add support for Kotlin programming language

mpujari commented 8 years ago

Added support for Kotin, its similar to Java/C style with PR #22 .

File extensions for Kotlin are "kt" and "kts" (@bschineller correct me over here).

PDegenPortnoy commented 8 years ago

It looks to us that Kotlin is the only language that uses the .kt and .kts extensions, therefore no need for disambigution.

However, the ohcount4j -l output does not include kotlin. Therefore, some additional work is needed.

PR #22 would have added Kotlin support, but the branch from which that pull request was made has been deleted, so it looks like we need to extract that code set as a diff or a patch and apply it to a new branch off of master.

PDegenPortnoy commented 8 years ago

PR for Kotlin programming language has been merged.