News for hackers. Stuff that matters.
Re:Proving that C++'s grammar is undecidable by convery on Tuesday April 28, 2020 @09:58PM (#23014448)
Can do a "constexpr void inf() { for (int i = 0; i < 2; ++i) i = 0; }" as a shorter proof.
Re:Proving that C++'s grammar is undecidable by saagarjha on Tuesday April 28, 2020 @10:14PM (#23014537)
That’s not the grammar, though; that’s compile-time evaluation.