Re: Using Clang infrastructure to generate semantic databases
David Engster <[email protected]> Mon, 01 Jun 2015 21:58:43 +0200
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Marco Craveiro writes: > 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. I've only played around with libtooling. Thanks for the offer for setting up a project, but that won't be necessary. Besides, I'm a plain Make guy through and through. ;-) > Also do you have a name for the tool. Nah, it's a bit early for that... -David ------------------------------------------------------------------------------