ANN: gram_grep (grep with a grammar)

Ben Hanson <jamin.hanson@googlemail.com>
Thu, 27 Jul 2017 03:41:14 -0700 (PDT)

          From comp.compilers

Related articles
ANN: gram_grep (grep with a grammar) jamin.hanson@googlemail.com (Ben Hanson) (2017-07-27)
| List of all articles for this month |
From: Ben Hanson <jamin.hanson@googlemail.com>
Newsgroups: comp.compilers
Date: Thu, 27 Jul 2017 03:41:14 -0700 (PDT)
Organization: Compilers Central
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="79885"; mail-complaints-to="abuse@iecc.com"
Keywords: tools
Posted-Date: 27 Jul 2017 10:30:36 EDT

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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.