#51 Ada support

open
nobody
None
5
2008-04-21
2008-04-21
Nicolas Vincent
No

Hello,

I heard a long time ago that vhdl and ada shared the same parser, I wanted to give it a look now that i wrote a basic vhdl parser for ctags and indeed they do share a lot of things.
So i did a ":%s/vhdl/ada/g" and with a few more changes and after updating the keywors and tags I had a parser for ada up and running...

It tags procedures, functions, constants, types, subtypes, task (althoug i don't have tested it yet). The record tagging might not be working since the syntax is a little bit different from the vhdl one.

I will focus on gathering ada example files to build a file to tag ada code and to put in Test/. In the mean time if anyone has ada you can send it to me.

Nicolas.

ps : I had a look at the patch submitted a while ago and it seemed a little bit obscurs and I prefered to reuse the vhdlparser in order to be able at some point in the future to merge them and have a single parser for both vhdl and ada (like there are multiple language supported in c.c)

Discussion

  • Basic ada support

     
    Attachments