Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1899 > unrolled thread
| Started by | Ben Hanson <jamin.hanson@googlemail.com> |
|---|---|
| First post | 2017-07-27 03:41 -0700 |
| Last post | 2017-07-27 03:41 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.compilers
ANN: gram_grep (grep with a grammar) Ben Hanson <jamin.hanson@googlemail.com> - 2017-07-27 03:41 -0700
| From | Ben Hanson <jamin.hanson@googlemail.com> |
|---|---|
| Date | 2017-07-27 03:41 -0700 |
| Subject | ANN: gram_grep (grep with a grammar) |
| Message-ID | <17-07-003@comp.compilers> |
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 top | Article view | comp.compilers
csiph-web