>
> I've actually been using gomacro for this (testing a quick bit of syntax).
> I have to import the std libs that I need (auto import would be nice if
> it's not ambiguous), but it has nice output evaluation and state.
>
> https://github.com/cosmos72/gomacro
>

Ha, nice! You know, I think I remember finding that tool when I had the
idea for gosnip, but somehow forgot about it in the meantime.

"gomacro -e 'statements'" is similar, and of course much faster because it
avoids build/run. The gomacro guy is even open to adding the auto-import
feature, and there's an open issue ("good first issue") to add this:
https://github.com/cosmos72/gomacro/issues/22

-Ben

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to