4 ms·
>"Context free grammars. What this really means is the code should be parseable without having to look things up in a symbol table. C++ is famously not a contex
by bogomipz 7y ago
>"Context free grammars. What this really means is the code should be parseable without having to look things up in a symbol table. C++ is famously not a context free grammar."
Could someone elaborate on why C++ is not a "not a context free grammar"? Also how does C++ deal with this fact?
- colejohnson66 7y agoHere’s a good Medium post on why C++ is undecidable: https://medium.com/@mujjingun_23509/full-proof-that-c-grammar-is-undecidable-34e22dd8b664 https://medium.com/@mujjingun_23509/full-proof-that-c-gramma...
- bogomipz 7y agoThis is a great read! It summed things up quite nicely with some good graphics as well. Cheers.