4 ms·
The shell is an ambiguous language that cannot be directly implemented with an LR parser. Perhaps some of the power emerges from that ambiguity, but it is quit
by chasil 4y ago
The shell is an ambiguous language that cannot be directly implemented with an LR parser.
Perhaps some of the power emerges from that ambiguity, but it is quite difficult to implement.
This presentation sums up the woes of an implementor:
https://archive.fosdem.org/2018/schedule/event/code_parsing_posix_s_hell/ https://archive.fosdem.org/2018/schedule/event/code_parsing_...