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

Crystal language detector. #53

Closed akzhan closed 6 years ago

akzhan commented 6 years ago

https://crystal-lang.org

May be I miss something :)

Fryguy commented 6 years ago

Any chance to get this merged?

notalex commented 6 years ago

Hi, apologies for the delay. I can help get this merged. The build currently fails because there is no parsers/crystal.h file. We need a crystal.rl parser, you may follow the parsers/ruby.rl file for reference. After creating this file, run ./build in the ohcount directory to generate the crystal.h file. build will also run the tests to confirm if this works.

Note: ohcount is tested to build on ubuntu 14.04 & 16.04. If you cannot build it on your machine, let me know. I can build it on my end.