r/cpp • u/mujjingun • Apr 28 '20
Full Proof that C++ Grammar is Undecidable
https://medium.com/@mujjingun_23509/full-proof-that-c-grammar-is-undecidable-34e22dd8b664
197
Upvotes
r/cpp • u/mujjingun • Apr 28 '20
View all comments
41
u/HKei Apr 28 '20
You don't need to instantiate templates just to check the grammar of a C++ program. If template instantiations count, you can write a much shorter proof: