* Ada and Exuberant CTags
@ 2011-10-11 19:30 Yannick Duchêne (Hibou57)
2011-10-11 20:36 ` R. Tyler Croy
2011-10-12 5:56 ` Martin Krischik
0 siblings, 2 replies; 11+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-10-11 19:30 UTC (permalink / raw)
Hello people out there,
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 19:30 Ada and Exuberant CTags Yannick Duchêne (Hibou57)
@ 2011-10-11 20:36 ` R. Tyler Croy
2011-10-11 22:22 ` Yannick Duchêne (Hibou57)
2011-10-12 5:56 ` Martin Krischik
1 sibling, 1 reply; 11+ messages in thread
From: R. Tyler Croy @ 2011-10-11 20:36 UTC (permalink / raw)
On Tue, 11 Oct 2011 21:30:36 +0200, Yannick Duchêne (Hibou57) wrote:
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 20:36 ` R. Tyler Croy
@ 2011-10-11 22:22 ` Yannick Duchêne (Hibou57)
2011-10-11 23:44 ` R. Tyler Croy
0 siblings, 1 reply; 11+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-10-11 22:22 UTC (permalink / raw)
Le Tue, 11 Oct 2011 22:36:47 +0200, R. Tyler Croy <tyler@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
--
“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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 22:22 ` Yannick Duchêne (Hibou57)
@ 2011-10-11 23:44 ` R. Tyler Croy
2011-10-12 0:26 ` Yannick Duchêne (Hibou57)
2011-10-12 3:07 ` Yannick Duchêne (Hibou57)
0 siblings, 2 replies; 11+ messages in thread
From: R. Tyler Croy @ 2011-10-11 23:44 UTC (permalink / raw)
On Wed, 12 Oct 2011 00:22:35 +0200, Yannick Duchêne (Hibou57) wrote:
> Le Tue, 11 Oct 2011 22:36:47 +0200, R. Tyler Croy <tyler@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
:)
--
- R. Tyler Croy
--------------------------------------
Code: http://github.com/rtyler
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 23:44 ` R. Tyler Croy
@ 2011-10-12 0:26 ` Yannick Duchêne (Hibou57)
2011-10-12 3:07 ` Yannick Duchêne (Hibou57)
1 sibling, 0 replies; 11+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-10-12 0:26 UTC (permalink / raw)
Le Wed, 12 Oct 2011 01:44:37 +0200, R. Tyler Croy <tyler@linux.com> a
écrit:
> % autoheader && autoconf && ./configure && make && sudo make install
Wow, there is really an autoheader. Hopfully, no automake, but I was near
to go wrong typing ./autoconfigure.
It works :) Wanted to have a quick overview of the ada.c you added to this
fork, but it's a longer file I though, will have to get some time to read
it a bit seriously.
I will have to later fix the outliner plugins I use with Gedit, as it
displays everything as a raw list without branch. At least, symbols are
there.
Have a sweet night if its time for you
--
“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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 23:44 ` R. Tyler Croy
2011-10-12 0:26 ` Yannick Duchêne (Hibou57)
@ 2011-10-12 3:07 ` Yannick Duchêne (Hibou57)
2011-10-12 3:23 ` Yannick Duchêne (Hibou57)
1 sibling, 1 reply; 11+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-10-12 3:07 UTC (permalink / raw)
Le Wed, 12 Oct 2011 01:44:37 +0200, R. Tyler Croy <tyler@linux.com> a
écrit:
>>> <https://github.com/rtyler/ctags>
What specification or reference did you used for Ada tag kinds code ?
An example: you use 'f' for formal/generic formal parameters, while the
exuberant-ctags standard use it for function/method.
Finally, I feel I will fix ada.c from your fork, rather the gedit plugin
which seems nice. I don't want to introduce exceptional cases for Ada in
that file, and instead map Ada tags to standard exuberant-ctags tags
specification.
Will tell you if I did, but I will have to look deeper to see if some
standard for Ada tag kinds already exist. That's why I would like to know
more about the reference or standard you used (to know if you used one).
--
“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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-12 3:07 ` Yannick Duchêne (Hibou57)
@ 2011-10-12 3:23 ` Yannick Duchêne (Hibou57)
0 siblings, 0 replies; 11+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-10-12 3:23 UTC (permalink / raw)
Le Wed, 12 Oct 2011 05:07:21 +0200, Yannick Duchêne (Hibou57)
<yannick_duchene@yahoo.fr> a écrit:
> Le Wed, 12 Oct 2011 01:44:37 +0200, R. Tyler Croy <tyler@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.
--
“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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-11 19:30 Ada and Exuberant CTags Yannick Duchêne (Hibou57)
2011-10-11 20:36 ` R. Tyler Croy
@ 2011-10-12 5:56 ` Martin Krischik
2011-10-12 18:21 ` R. Tyler Croy
2011-10-13 4:22 ` Jerry
1 sibling, 2 replies; 11+ messages in thread
From: Martin Krischik @ 2011-10-12 5:56 UTC (permalink / raw)
Hello,
On Oct 11, 9:30 pm, Yannick Duchêne (Hibou57)
<yannick_duch...@yahoo.fr> wrote:
> Someone know a version Exuberant CTags with support for Ada ?
Yes here:
http://gnuada.svn.sourceforge.net/viewvc/gnuada/trunk/tools/ctags/
Martin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-12 5:56 ` Martin Krischik
@ 2011-10-12 18:21 ` R. Tyler Croy
2011-10-13 17:21 ` Martin Krischik
2011-10-13 4:22 ` Jerry
1 sibling, 1 reply; 11+ messages in thread
From: R. Tyler Croy @ 2011-10-12 18:21 UTC (permalink / raw)
On Tue, 11 Oct 2011 22:56:08 -0700, Martin Krischik wrote:
> Hello,
>
> On Oct 11, 9:30 pm, Yannick Duchêne (Hibou57) <yannick_duch...@yahoo.fr>
> wrote:
>
>> Someone know a version Exuberant CTags with support for Ada ?
>
> Yes here:
>
> http://gnuada.svn.sourceforge.net/viewvc/gnuada/trunk/tools/ctags/
Ah yes! This is where I originally pulled ada.c from to incorporate into
my GitHub ctags repository :)
--
- R. Tyler Croy
--------------------------------------
Code: http://github.com/rtyler
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-12 5:56 ` Martin Krischik
2011-10-12 18:21 ` R. Tyler Croy
@ 2011-10-13 4:22 ` Jerry
1 sibling, 0 replies; 11+ messages in thread
From: Jerry @ 2011-10-13 4:22 UTC (permalink / raw)
On Oct 11, 10:56 pm, Martin Krischik <krisc...@users.sourceforge.net>
wrote:
> Hello,
>
> On Oct 11, 9:30 pm, Yannick Duchêne (Hibou57)
>
> <yannick_duch...@yahoo.fr> wrote:
> > Someone know a version Exuberant CTags with support for Ada ?
>
> Yes here:
>
> http://gnuada.svn.sourceforge.net/viewvc/gnuada/trunk/tools/ctags/
>
> Martin
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada and Exuberant CTags
2011-10-12 18:21 ` R. Tyler Croy
@ 2011-10-13 17:21 ` Martin Krischik
0 siblings, 0 replies; 11+ messages in thread
From: Martin Krischik @ 2011-10-13 17:21 UTC (permalink / raw)
Am 12.10.2011, 20:21 Uhr, schrieb R. Tyler Croy <tyler@linux.com>:
> 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://krischik@users.sourceforge.net
https://sourceforge.net/users/krischik
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-10-13 17:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-11 19:30 Ada and Exuberant CTags Yannick Duchêne (Hibou57)
2011-10-11 20:36 ` R. Tyler Croy
2011-10-11 22:22 ` Yannick Duchêne (Hibou57)
2011-10-11 23:44 ` R. Tyler Croy
2011-10-12 0:26 ` Yannick Duchêne (Hibou57)
2011-10-12 3:07 ` Yannick Duchêne (Hibou57)
2011-10-12 3:23 ` Yannick Duchêne (Hibou57)
2011-10-12 5:56 ` Martin Krischik
2011-10-12 18:21 ` R. Tyler Croy
2011-10-13 17:21 ` Martin Krischik
2011-10-13 4:22 ` Jerry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox