blackducksoftware / ohcount

The Ohloh source code line counter
https://github.com/blackducksoftware/ohcount
GNU General Public License v2.0
257 stars 74 forks source link

Better Forth detection, in particular for .fs files #44

Closed AntonErtl closed 6 years ago

AntonErtl commented 8 years ago

Adds disambiguation between Forth and F# for .fs files. Also adds a few other common extensions for Forth source files.

The original version classifies all the .fs files in the Gforth repository (and other Forth repositories) as F#, while they actually contain Forth code.

notalex commented 6 years ago

Hi Anton. I am sorry for the delay in reviewing this. The patch looks great. We just need one small addition to it. We want to detect .forth files as well. I will wait for a few days, then add it myself if need be and merge this PR.