github-linguist/linguist
View on GitHubimprove Prolog vs. IDL detection (.pro files)
Open
#5,053 opened on Oct 17, 2020
Good First IssueMisidentified Language
Repository metrics
- Stars
- (13,466 stars)
- PR merge metrics
- (Avg merge 102d 5h) (19 merged PRs in 30d)
Description
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)