Ada specifications aren't counted

Avatar

Maxim Reznik

about 1 year ago

Ada has two type of files - specifications (.ads) and body (.adb). It's like .h and .c in C/C++.

It seems .ads files not recognized as Ada code.

Could you associate *.ads with Ada?


Avatar

Robin Luckey

about 1 year ago

As always when adding a new extension, I'm a bit nervous that the extension will match some things that are not Ada. But glancing through the Ohloh database, it looks like about 100 repositories include *.ads files, and the ones I manually inspected all looked like valid Ada.

I plan to roll out an update to Ohcount today, and I'll add *.ads files to the mix. It will take us a while to get through all the projects that will need recounting -- if you have a particular favorite you want at the front of the queue, let me know.

Robin