github-linguist/linguist

improve Prolog vs. IDL detection (.pro files)

Open

#5 053 ouverte le 17 oct. 2020

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)Ruby (5 166 forks)batch import
Good First IssueMisidentified Language

Métriques du dépôt

Stars
 (13 466 stars)
Métriques de merge PR
 (Merge moyen 102j 5h) (19 PRs mergées en 30 j)

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:

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)

Guide contributeur