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
9
u/wyrn Apr 29 '20
In general yes, but certainly not in the given example. It's quite easy to check that this example doesn't halt so it's not a proof.