urlwolf
Joined: 16 Mar 2006 Posts: 100
|
Posted: Mon Dec 31, 2007 1:41 am Post subject: to those with experience with parsers, ctagsAHK (crucial) |
|
|
I'm sure you have heard of ctags:
http://ctags.sourceforge.net
| Quote: | | Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object). |
It's great because once you have generated tags for your file, you can 'teleport' to the function definition by double-clicking on the function name. Same for variables. If your editor supports ctags, of course.
The function definition may even be in a different file, and it'll find it for you.
This would make function lists (such as the one in PSPad and the one by rajat/toralf: activeGoto) a lot easier and more powerful.
The problem: ahk is not suported. Someone needs to write a parser, explained here:
http://ctags.sourceforge.net/EXTENDING.html
I'm not very good with C, but I guess some people here (who have wrote syntax highlighting/lexers) may be very familiar with the problems that such a parser may face.
What do you think? Anyone up for it? |
|