News for hackers. Stuff that matters.
Re:Show HN: A complete Bash parser in JavaScript transpiled ... by mvdan on Thursday May 17, 2018 @07:42AM (#17090467)
That's a good point. I am adding more and more examples to the Go documentation these days.

Ideally I'd just point the JS people at the Go docs and examples, but the translation is not exactly one-to-one. This is why the README file published with the JS package has a complete example. I'll try to add a few more.

Re:Show HN: A complete Bash parser in JavaScript transpiled ... by z3t4 on Thursday May 17, 2018 @07:57AM (#17090540)
idea: Maybe the examples and documentation can be transpiled too !? Then you can have several tabs for each code snippet. Go, JavaScript, other. Some transpilations might end up weird, but you could fix those manually.