Parsing POSIX shell is not undecideable, but bash adds a construct that relies on dynamic parsing, much like Perl.
(I cite this Perl article and the C++ one in this thread. And there is another one about parsing GNU Make.)
FWIW, Larry Wall has mentioned many times that Perl 6 fixes this problem. So he very much views it as a language design flaw. I don't think you can argue that it's not.
I watched 3 or more videos on Perl 6 and he's mentioned it at least twice.
Comments
Related: Parsing Bash is Undecideable
http://www.oilshell.org/blog/2016/10/20.html
Parsing POSIX shell is not undecideable, but bash adds a construct that relies on dynamic parsing, much like Perl.
(I cite this Perl article and the C++ one in this thread. And there is another one about parsing GNU Make.)
FWIW, Larry Wall has mentioned many times that Perl 6 fixes this problem. So he very much views it as a language design flaw. I don't think you can argue that it's not.
I watched 3 or more videos on Perl 6 and he's mentioned it at least twice.