News for hackers. Stuff that matters.
Re:Show HN: A complete Bash parser in JavaScript transpiled ... by ClassAndBurn on Wednesday May 16, 2018 @01:55PM (#17084719)
And now my head hurts.
Re:Show HN: A complete Bash parser in JavaScript transpiled ... by mvdan on Wednesday May 16, 2018 @02:27PM (#17085080)
This is hacky, but it beats having to write a shell parser from scratch again :)

Once wasm support is shipped with Go, I hope to be able to accomplish the same without a transpiler. I'd also hope that the final package would be smaller and more performant.

Re:Show HN: A complete Bash parser in JavaScript transpiled ... by JepZ on Wednesday May 16, 2018 @03:15PM (#17085526)
I didn't even know they were working on wasm for Go, but it looks like there was some progress during the last months:

https://github.com/golang/go/issues/18892

Re:Show HN: A complete Bash parser in JavaScript transpiled ... by knodi on Wednesday May 16, 2018 @02:07PM (#17084858)
Thus is life in JS, perpetual headache.