github-linguist/linguist
Vedi su GitHubimprove Prolog vs. IDL detection (.pro files)
Open
#5053 aperta il 17 ott 2020
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:
- https://github.com/gnudatalanguage/gdl/search?l=prolog
- https://github.com/gnudatalanguage/gdl/search?l=IDL
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)