Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1899 > unrolled thread

ANN: gram_grep (grep with a grammar)

Started byBen Hanson <jamin.hanson@googlemail.com>
First post2017-07-27 03:41 -0700
Last post2017-07-27 03:41 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.compilers


Contents

  ANN: gram_grep (grep with a grammar) Ben Hanson <jamin.hanson@googlemail.com> - 2017-07-27 03:41 -0700

#1899 — ANN: gram_grep (grep with a grammar)

FromBen Hanson <jamin.hanson@googlemail.com>
Date2017-07-27 03:41 -0700
SubjectANN: 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

[toc] | [standalone]


Back to top | Article view | comp.compilers


csiph-web