Re: [go-nuts] Announcing gg ("gigi") your new friend

2019-07-05 Thread Wojciech S. Czarnecki
On Thu, 4 Jul 2019 09:10:09 -0700 Michael Jones wrote: Great work, thank you :) > Recently I shared my Survey > program, saying that it was a sidestep from what I was working on but > interesting and hopefully useful to others. Here is the real thing,

Re: [go-nuts] Announcing gg ("gigi") your new friend

2019-07-04 Thread Andy Balholm
I recently ran across https://github.com/mvdan/gogrep . It does some of that. Andy > On Jul 4, 2019, at 5:30 PM, Bakul Shah wrote: > > Very nice! > > A natural great extension[1] would be language aware grep/sed/awk: > - return an enclosing parse construct

Re: [go-nuts] Announcing gg ("gigi") your new friend

2019-07-04 Thread Bakul Shah
Very nice! A natural great extension[1] would be language aware grep/sed/awk: - return an enclosing parse construct after matching something - match on a construct with some pieces wildcarded - replace one structure with another (but based on the match) Possible uses: - when you change an API of

[go-nuts] Announcing gg ("gigi") your new friend

2019-07-04 Thread Michael Jones
Recently I shared my Survey program, saying that it was a sidestep from what I was working on but interesting and hopefully useful to others. Here is the real thing, named gg, that Survey was a test for. GG combines lexical analysis and Go-native pattern