On Tue, April 15, 2008 12:24, Nicolas Vincent wrote:
> I subscribed to ctags-devel so I received the mail, thanks anyway :)
>
> I submitted a patch on the appropriate page on sourceforge, it adds
> package tagging to the previous version I sent in a tarball earlier this
> week.
cool.
> There are probably some things to fix :
> * is it necessary to have a tag for the prototype and another for the
> body of a function/procedure/entity ?
it's not _necessary_, but judging by the number of people who ask how to
turn it on for C++, it's popular (at least with C++ programmers). i think
that's a good solution (despite the FAQ it causes): offer the ability, but
turn it off by default.
> * How to deal with extern
> functions/entities declared in a package, the problem is that we still can
> access the entity even if it not declared in the package by using
> package_name.my_entity. I think the best thing to do is to tag everything
> like that for multilevel hierarchy of source code we can see "everything".
this probably warrants similar treatment, but again, it's not critically
important.
i'm trying to get some VHDL users i know to give me some independent
feedback on your VHDL parser compared to the old patch, but they're
ignoring me at the moment ;-)
--elliott
> Nicolas.
>
>
> Elliott Hughes a écrit :
>
>> (re-adding Nicolas, in case he isn't a subscriber.)
>>
>>
>> --elliott
>>
>>
>> On 2008-04-13, at 14:30 , Elliott Hughes wrote:
>>
>>> also, have a look at patch #1433437 "New VHDL Parser". i was looking
>>> into this last year, and found a few problems with the previous
>>> version. (i did fix enough bugs to get it to parse a large VHDL
>>> codebase i had access to at the time. i'll look out what i had and
>>> attach it to the aforementioned patch page.)
>>>
>>> btw, the output from "svn diff" is more useful and easier to read
>>> than a .tgz file, both on the mailing list and on the web site.
>>>
>>> your test.vhd is nice and large! looks like your vhdl.c addresses
>>> some of the problems i noted with the earlier one, too.
>>>
>>> --elliott
>>>
>>>
>>> On 2008-04-13, at 13:40 , Darren Hiebert wrote:
>>>
>>>> Nicolas,
>>>>
>>>>
>>>> Thank you for your submission.
>>>>
>>>>
>>>> In the future, it is best to submit such contributions to the
>>>> Patches
>>>> section of the ctags website (with, perhaps, a note posted here).
>>>> This
>>>> ensures a permanent record and availability to everyone, not just
>>>> those subscribed to this list.
>>>>
>>>> Darren
>>>>
>>>>
>>>> On Apr 13, 2008, at 12:17 PM, Nicolas Vincent wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>> I developed a parser for vhdl files.
>>>>>
>>>>>
>>>>> It currently supports tagging for : constant, entities,
>>>>> components, functions, procedures (prototypes and bodies), types
>>>>> and subtypes, records and fields of the record.
>>>>>
>>>>> In attachment, the patch to apply in the trunk dir, and the
>>>>> vhdl.c with the parser. The test.vhd is just an example with
>>>>> correct vhdl syntax.
>>>>>
>>>>>
>>>>> If you have any suggestions or remarks I will be glad to hear
>>>>> them.
>>>>>
>>>>> Thanks,
>>>>> Nicolas.
>>>>>
>>>>>
>>>>> <vhdl-
>>>>> patch .tar
>>>>> .gz
>>>>>
>>>>>>
>>>>> -----------------------------------------------------------------
>>>>> --------
>>>>>
>>>>>
>>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>>>> Don't miss this year's exciting event. There's still time to
>>>>> save $100.
>>>>> Use priority code J8TL2D2.
>>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun
>>>>> .com/javaone_______________________________________________
>>>>>
>>>>>
>>>>> Ctags-devel mailing list
>>>>> Ctags-devel@...
>>>>> https://lists.sourceforge.net/lists/listinfo/ctags-devel
>>>>>
>>>>
>>>> --
>>>> Darren Hiebert
>>>> http://darrenhiebert.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> ------
>>>>
>>>>
>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>>> Don't miss this year's exciting event. There's still time to save
>>>> $100.
>>>> Use priority code J8TL2D2.
>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.c
>>>> om/javaone
>>>>
>>>> _______________________________________________
>>>> Ctags-devel mailing list
>>>> Ctags-devel@...
>>>> https://lists.sourceforge.net/lists/listinfo/ctags-devel
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ----
>>>
>>>
>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>> Don't miss this year's exciting event. There's still time to save
>>> $100.
>>> Use priority code J8TL2D2.
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com
>>> /javaone
>>>
>>>
>>> _______________________________________________
>>> Ctags-devel mailing list
>>> Ctags-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/ctags-devel
>>>
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/jav
> aone _______________________________________________
> Ctags-devel mailing list
> Ctags-devel@...
> https://lists.sourceforge.net/lists/listinfo/ctags-devel
>
>
--
Elliott Hughes, http://www.jessies.org/~enh/
|