You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interesting in writing a tool in language other than go-lang that generates a proper go-lang code. The easiest way I can think of, is to send go-lang source in JSON format (similar to output of goblin) to go-lang and allow it and generate proper go source.
Could you consider implementing a reverse operation in Goblin? That is parsing JSON back into AST of go-lang? If not, are you maybe aware of other libraries implementing such functionality?
The text was updated successfully, but these errors were encountered:
I think this is out of scope for goblin itself, but if you happen to write/encounter any libraries that do this, I'd be happy to link to them in the README (and ensure strict semver compatibility so that their upstream doesn't break.)
If you were interested in doing this yourself, it would really not be too difficult: the goblin code is long, owing to Go's somewhat low-level nature, but it's not complicated.
Hey,
I'm interesting in writing a tool in language other than go-lang that generates a proper go-lang code. The easiest way I can think of, is to send go-lang source in JSON format (similar to output of goblin) to go-lang and allow it and generate proper go source.
Could you consider implementing a reverse operation in Goblin? That is parsing JSON back into AST of go-lang? If not, are you maybe aware of other libraries implementing such functionality?
The text was updated successfully, but these errors were encountered: