On Fri, May 19, 2017 at 3:21 PM,  <alexanderao...@gmail.com> wrote:
> My apologies, I have worded the question poorly.
>
> Basically, I want to compile Go source to a bytecode format, which will be
> interpreted at some later step. The design is similar to Java's compilation
> process.
>
> Thus far, I know I can produce an AST from go/parser, type check it using
> go/types, and then traverse it as necessary to emit the bytecode. However,
> questions were raised about whether this was the best approach.
>
> Is there a better way to accomplish this?

I think that is the best approach.

Ian

-- 
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