3 ms·
Not that it's useful or desired, but could one transpile it into pure bash as well? It's Turing complete isn't it?
by ddtaylor 8y ago
Not that it's useful or desired, but could one transpile it into pure bash as well? It's Turing complete isn't it?
- mvdan 8y agoI'm not sure I understand what you're saying. If there was a Go->Bash transpiler (or a JS->Bash one), yes, we would theoretically end up with a Bash parser and interpreter in Bash. I imagine it would be quite the monster, though.
- solarkraft 8y agoLuckily the current creation isn't already one.
- mvdan 8y agoI'm going to go on assuming that you're not being sarcastic :) As I mentioned in another comment, once Go's wasm support is shipped and stable, I hope to make the JS package smaller and better. Until then, this is the best I can do without manually rewriting the Go code in JS.