Someone know a version Exuberant CTags with support for Ada ?
--
“Syntactic sugar causes cancer of the semi-colons.” [Epigrams on
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
Java: Write once, Never revisit
> Hello people out there,
>
> Someone know a version Exuberant CTags with support for Ada ?
I forked ctags and added support directly from the matreska repo (IIRC), I
can't quite remember where it came from right now honestly: <https://
github.com/rtyler/ctags>
Cheers
--
- R. Tyler Croy
--------------------------------------
Code: http://github.com/rtyler
Well, I ran autoconf, then configure, but configure ended with a:
> config.status: error: cannot find input file: `config.h.in'
Make failed, obviously.
But don't mind, as this is really far from being life‑and‑death emergency.
Would just be convenient for use with Gedit (Ubuntu default editor), as I
don't use GPS.
Thanks for your contribution
> Le Tue, 11 Oct 2011 22:36:47 +0200, R. Tyler Croy <ty...@linux.com> a
> écrit:
>> I forked ctags and added support directly from the matreska repo
>> (IIRC),
>> I can't quite remember where it came from right now honestly:
>> <https://github.com/rtyler/ctags>
> A long time I haven't seen Effeil source in real life ;) Was the C files
> generated by SmallEiffel ?
>
> Well, I ran autoconf, then configure, but configure ended with a:
>> config.status: error: cannot find input file: `config.h.in'
> Make failed, obviously.
>
> But don't mind, as this is really far from being life‑and‑death
> emergency.
> Would just be convenient for use with Gedit (Ubuntu default editor), as
> I don't use GPS.
>
> Thanks for your contribution
% autoheader && autoconf && ./configure && make && sudo make install
:)
> Le Wed, 12 Oct 2011 01:44:37 +0200, R. Tyler Croy <ty...@linux.com> a
> écrit:
>>>> <https://github.com/rtyler/ctags>
> What specification or reference did you used for Ada tag kinds code ?
As a quick overview. I understood you used something originally made for
VIM:
http://gnuada.svn.sourceforge.net/viewvc/gnuada/tags/ctags-ada-mode-4.3.11/ada.c?revision=977&view=markup
This use the exact same tag kinds as yours
But the reference says:
http://ctags.sourceforge.net/FORMAT
> Note that these are mostly for C and C++. Whentags programs are written
> for other languages,this list should be extended to include the used
> field names.
*should be extended* This is very important to underline. Here, the ctags
for Ada used by VIM happily overwrite every thing. They did not follow the
CTags reference.
Interestingly, I could find some one else, who tried to follow the CTags
standard, and cleanly mapped Ada semantic to these, without any dangerous
overwriting:
http://coding.derkeiler.com/Archive/Ada/comp.lang.ada/2004-08/0108.html
To come back to a previous example, he, used 'f' for function and
procedure.
That's a mess, there seems to be no respect for standard at all. Famous
people don't follow the standard, and the one who followed the standard,
is an unknown guy and has probably no influence.
For the record, there is an error in the file ada.c at the above
address. The lines
* then add the line
* ada.$(OBJECT) \
should be
* then add the line
* ada.$(OBJEXT) \
BTW, shouldn't this be included in ctags proper?
Jerry
> Ah yes! This is where I originally pulled ada.c from to incorporate into
> my GitHub ctags repository :)
You could have asked for access to the original. No need for a fork.
Martin
--
Martin Krischik
mailto://kris...@users.sourceforge.net
https://sourceforge.net/users/krischik