Good morning.

I've recently found myself writing a code generator for dynamic interface 
composition at runtime. It became ugly and I had to pass in quite a number 
of parameters that should have been available from reading the source code.

In a second attempt I've reimplemented the generator using stringer-like 
AST handling. It worked well but was cumbersome to code.

Now an idea surfaced: wouldn't it make sense to implement a selector 
interface on top of the golang AST, something like CSS or JQ selectors but 
targeted at the go language constructs? I've stumbled across Guru but it 
does seem to target a slightly different use case.

Is anybody aware of such a selector lib/module or does the idea even sound 
interesting?

Cheers,
Andi

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2366cfa7-3884-499f-b97f-97c6e6c033f7n%40googlegroups.com.

Reply via email to