Improvment of Ada mime info needed.
Submitted by Preben Randhol
Assigned to Shared Mime Info group
Description
I noticed that the shared-mime-info contained this entry for the Ada95 programming language:
``Ada source code`` Ada-Quelltext`` Πηγαίος κώδικας Ada`` Ada-lähdekoodi`` Ada-kildekode`` ``This is a bit ackward. It would be like saying:
``C source code`` ``as .ads are the spec files of Ada (to some extent like .h for C).
To summarise the extensions used by GNAT:
.ads Spec file (containing the declarations)
.adb Body file (containing the code)
.ali Ada Library info (which contains additional information used to check that an Ada program is consistent. This is made when you compile a program)
.adt Ada Tree (A tree file stores a snapshot of the compiler internal data structures in the very end of a successful compilation. It contains all the syntactical and semantic information about the unit being compiled and all the units upon which it depends semantically. Some tools need tree files to obtain this information.)
.ada Contains both Spec and Body (used by other compilers too)
So it would be nice if the freedesktop mime file could be updated to the following for Ada:
``Ada source code`` Ada-Quelltext`` Πηγαίος κώδικας Ada`` Ada-lähdekoodi`` Ada-kildekode`` `` ``Ada source code spec`` Ada-kildekodespesifikasjon`` `` ``Ada library information`` Ada-bibliotektinformasjon`` `` ``Ada tree`` Ada-tre`` ``Regards,
Preben Randhol
Reference:
<URL: http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gnat_ugn_unw/File-Naming-Rules.html#File-Naming- Rules>
<URL: http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gnat_ugn_unw/The-Ada-Library-Information-Files.h tml#The-Ada-Library-Information-Files>
<URL: http://lgl.epfl.ch/teaching/programming01_02/doc/gnat_ug.html#SEC142>