Re: github finally believes we exist

Paulo Moura <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi Anne,

On 19/08/2013, at 06:06, Anne Ogborn <[email protected]> wrote:

> Another small victory - Github now classifies prolog code correctly. They used to classify it as perl.

That was been true for some time. But it seems that some projects need to be re-analysed for the language statistics to show up corrected. But identifying source files as Prolog source files is not always accurate. The software doing the job, linguist, still defines the Prolog bits as:

Prolog:
  type: programming
  color: "#74283c"
  primary_extension: .prolog
  extensions:
  - .pro

Me and others tried to get .pl recognized as the de facto standard extension for Prolog source files but it was a lost battle. Thankfully, linguist (also) uses the actual contents of the files to try to infer the language used in a source file. Sometimes linguist guesses it wrong and you can find e.g. people also complaining that suddenly that have become Prolog programmers :-)

Cheers,

Paulo


-----------------------------------------------------------------
Paulo Moura
Logtalk developer

Email: <mailto:[email protected]>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.