From: Eric M. L. <er...@si...> - 2006-03-21 21:17:23
|
>>> Joakim Verona <jo...@ve...> seems to think that: >Markus Gritsch <gr...@iu...> writes: > >> Timothee Besset wrote: >>> Harmonia looks very promising indeed. The current release doesn't >>> support C++ however, so I'm on a wait and see till C++ is there to try >>> it out. >> >> I use ebrowse (which comes with Emacs) to generate a Tags-DB for all >> my source files, and use its functionality to jump to method >> definitions/declarations. Ebrowse is C++ only, but does its job very >> well. It parses several hundred source files per second, and works >> also on quite big projects. I use it in a project consisting of 3500+ >> files in 500+ directories. > >What would be neat is if cedet backends were implemented for tools >like Ebrowse. Then one would have a consistent emacs interface to use >for all code. > >For instance Ocaml has a feature to compile so as to create >annotiation files that can be used for finding the type at point in >emacs tuareg mode. It would be neat if this also was made into a cedet >backend. > >Also it would be nice if cedet was clever enough to use for instance >ebrowse to find tags when the source file hasnt been touched, and its >own wisent parser otherwise. Hi, The semantic parser and the semanticdb storage system were both designed so they could be replaced. If you have your own parser, all you need to do is write a transformation function to convert one data type into semantic tags. If you have your own tag table, you can write a semanticdb object and you just need to implement a small number of search routines, plus something to convert the result into a semantic tag. In both cases there are examples for doing this. As Klaus said, someone just needs to take the time to do it. I had looked into the EBrowse structure, hoping to use the ebrowse lisp code, and I was befuddled by what it was trying to do. I have half of this system written and it needs someone to take it the rest of the way and implement the ebrowse piece into the semanticdb skeleton. The 'clever' part of knowing when to use which database is already in the system, and used with Emacs Lisp (which has a working alternate semanticdb back end.) Eric -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |