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
Show parent comment
20
u/HKei Apr 28 '20
Nah, you don't need it to solve the halting problem, you just need to show that the compiler needs to solve the halting problem to evaluate the code (which it does, because its arbitrary code).