github-linguist/linguist

improve Prolog vs. IDL detection (.pro files)

Open

#5053 aperta il 17 ott 2020

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)Ruby (5166 fork)batch import
Good First IssueMisidentified Language

Metriche repository

Star
 (13.466 star)
Metriche merge PR
 (Merge medio 102g 5h) (19 PR mergiate in 30 g)

Descrizione

Apparently some .pro files are detected as Prolog, while others are given the IDL label. The latter is related with the IDL/GDL/PV-WAVE language family.

In the GDL project, all .pro files are IDL source code, while they fall in both categories according to github:

Would be great to improve consistency (i.e., so that all are detected as IDL).

Likely relevant helper info: https://github.com/blackducksoftware/ohcount/blob/master/src/parsers/idl_pvwave.rl

HTH, Sylwester (originaly reported by @EdwardEisenhauer)

Guida contributor