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

Problem: Elm language not supported #85

Open julianpistorius opened 1 year ago

julianpistorius commented 1 year ago

I work on an open source project called Exosphere. It is a SPA (single page app) written mostly in the Elm programming language. See the GitLab repository analytics page: https://gitlab.com/exosphere/exosphere/-/graphs/master/charts

Elm: 71% CSS: 26% JavaScript: 0.99% Python: 0.67% Gherkin: 0.27%

gitlab-exosphere-languages

But when I look at the Open Hub overview: https://openhub.net/p/exosphere

It reports:

... is mostly written in JavaScript with a very low number of source code comments

openhub-project-overview

And on the Open Hub languages summary page: https://openhub.net/p/exosphere/analyses/latest/languages_summary

It reports:

CSS: 91% JavaScript: 5.5% Python: 2.7% HTML: 0.5% shell script: 0.3%

openhub-exosphere-languages

One of the compelling aspects of our project is that it is mostly written in Elm with very little JavaScript and CSS. We'd love for this to be reflected on Open Hub.

Note: Elm's syntax is very similar to Haskell's, so the Haskell parser could easily be modified to work.

notalex commented 1 year ago

Thanks for pointing this out. We will start supporting elm in OpenHub this month.