Comment by throwaway_pdp09
6 years ago
Can you give an example (or three) where that lets us down? That would be very helpful to me I suspect.
6 years ago
Can you give an example (or three) where that lets us down? That would be very helpful to me I suspect.
Examples of which bit?
Languages that are context-sensitive? C, C++, Java, JavaScript.
Examples of tools based on the starting expectation that languages are context-free? Yacc, Bison, Jay.
Examples of the problems this causes? Well we're using the wrong tool for the job, right from the start. Instead of using an appropriate tool the first thing we do is bend our tools out of shape. We use side-effect actions to subvert the tool's model in an uncontrolled way. We don't get the full benefits of the tool's original model and can't rely on its guarantees.