github-linguist / github-linguist/linguist

improve Prolog vs. IDL detection (.pro files)

Open
#5,053 3 comments 1 reaction 0 assignees View on GitHub
Good First Issue Misidentified Language
Dominant language
Ruby
Stars
13.7k
Forks
5.4k
Avg merge
1d 15h
Merged PRs (30d)
17

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.