Re:Show HN: A complete Bash parser in JavaScript transpiled ...
by Zalastax on Wednesday May 16, 2018 @07:29PM
(#17087290)
An important heads up: "Parsing Bash is Undecidable".
https://www.oilshell.org/blog/2016/10/20.html
[ Parent
| on HN ]
Re:Show HN: A complete Bash parser in JavaScript transpiled ...
by mvdan on Thursday May 17, 2018 @07:29AM
(#17090397)
Yep, I've exchanged a few emails with Andy before, the oilshell author. I started the parser in early 2016, so we were both getting started around the same time.
If you look at my README's caveats section, you'll see a very similar story - only accepting programs that can be parsed statically in a simple way.