News for hackers. Stuff that matters.
Re:C++ Grandmaster Certification by dspeyer on Friday February 01, 2013 @10:33AM (#5151249)
Is there any parser autogeneration tool that can cope with c++11's grammer? Including weird edge cases like template vs. comparison depending on previously declared types?
Re:C++ Grandmaster Certification by Locke1689 on Friday February 01, 2013 @12:47PM (#5152178)
C++ is messed up that you're gonna need to do some weird stuff. First, the grammar is ambiguous. Second, the template language is undecidable. Nothing you can do about the second.

The first, you'll at least need something capable of parsing context-free languages. My recommendation is to start here[1].

[1] http://arxiv.org/abs/1010.5023