Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1899
| From | Ben Hanson <jamin.hanson@googlemail.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | ANN: gram_grep (grep with a grammar) |
| Date | 2017-07-27 03:41 -0700 |
| Organization | Compilers Central |
| Message-ID | <17-07-003@comp.compilers> (permalink) |
Hello, I have used my runtime lexer and parser generating libraries to produce a search tool: https://www.codeproject.com/Articles/1197135/gram-grep-grep-for-the-st-century The tool operates in 3 different modes: - Standard regex search - Lexer mode search - Parser mode search Maybe you have wanted to search for text only in strings? Or exclude strings from your search? Or exclude comments? Or even search only in comments? All of these and more are easily achievable now. I include a simple grammar search for looking for uninitialised variables in header files. Regards, Ben
Back to comp.compilers | Previous | Next | Find similar | Unroll thread
ANN: gram_grep (grep with a grammar) Ben Hanson <jamin.hanson@googlemail.com> - 2017-07-27 03:41 -0700
csiph-web