Re: [Lxr-dev] VHDL support and other stuff
Brought to you by:
ajlittoz
From: Robin T. <Rob...@te...> - 2001-11-19 08:52:47
|
Hi Malcolm, Malcolm Box wrote: > A random thought that strayed across my neurones - what would be the > effort to get your parser integrated into ctags? I think ctags has a > reasonably well-defined extension system, and if it was in ctags then > (a) all the LXR support would be in place and (b) all the other tools > like emacs/vi etc that use ctags would also benefit. I also crossed my mind. I can think of one problem. The lex/yacc parser is not very "robust". If the grammar is wrong the parser quits. I don't know what is required for a ctags parser. If it should continue parsing to grab as many idents as possible even in case of syntax errors, my parser has a problem. And second, I already have the new rewritten GPL'ed parser running. The lxr perl overhead is small (when the new db structure is implemented). Only Lang/VHDL.pm should be added beside the parser which is 3 files (Makefile, vhdl.lex and vhdl.yacc). When I get bored I'll take a look at ctags. Robin. -- ASIC Design Engineer Tellabs Denmark A/S Direct: +45 4473 2942 rob...@te... |