Re: Using Clang infrastructure to generate semantic databases

Marco Craveiro <[email protected]> Wed, 27 May 2015 07:19:14 +0100
Newsgroups gmane.emacs.cedet
Message-ID <CAKRNd4zQFM70SHuJtJMMZwDzRhGpOa3SuKQfXTfZgiujP=Upqw@mail.gmail.com>
David,

<tool to generate semantic databases>
> I'm planning to do this. What you are proposing would indeed be a first
> step: creating the same tables that our current Bovine parser produces,
> which is what we call a "tagging parser". Later on I would want to
> extend this to full parsing, which would then also be closer to the AST.

Ah, most excellent! Have you started this effort? If not, would it be
of any help if I setup the basic infrastructure? More concretely I was
thinking about creating a simple C++-11/14 project in GitHub that uses
CMake to create a libtooling-based binary. It would be a copy of an
appropriate libtooling example[1]. I can setup travis, etc. You could
take it from there when you get time.

Also do you have a name for the tool.

Cheers

Marco
-- 
Optimism is an occupational hazard of programming; feedback is the
treatment. -- Kent Beck

http://about.me/marcocraveiro

[1] https://kevinaboos.wordpress.com/2013/07/23/clang-tutorial-part-ii-libtooling-example/

------------------------------------------------------------------------------