Hey all, I've been working on a shell language package for the past year. It supports both POSIX and Bash and includes a complete parser and printer.
The API resembles go/*, so it can be used for similar purposes: https://godoc.org/github.com/mvdan/sh/syntax The first tool built around this is shfmt - as you can guess, it works very much like gofmt but on shell scripts: go get -u github.com/mvdan/sh/cmd/shfmt Any feedback, contributions or questions are welcome. This was a side project to teach myself a few things, so that's your answer to "why would anyone build this?". -- Daniel Martí - mv...@mvdan.cc - https://mvdan.cc/ -- 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.