Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!mirror!necntc!necis!mrst!sdti!wmm From: wmm@sdti.com (William M. Miller) Newsgroups: comp.lang.c++ Subject: Re: g++ grammar description. Keywords: grammar, g++ Message-ID: <1989Oct19.030345.281@sdti.com> Date: 19 Oct 89 03:03:45 GMT References: <4054@yunexus.UUCP> <17623@rphroy.UUCP> Reply-To: wmm@sdti.SDTI.COM (William M. Miller) Organization: Software Development Technologies, Inc. Lines: 17 In article <17623@rphroy.UUCP> tkacik@rphroy.UUCP (Tom Tkacik) writes: >Is there a complete description of the C++ grammar? None of the books >I have looked at give it. Either C++ 1.2 or 2.0. >What should be used as the reference for solving syntax questions? The 2.0 Reference Manual, available from AT&T by itself or bundled with the cfront source (about 3 orders of magnitude difference in price between those two options :-), has a complete grammar. It's not perfect, but it's quite good. Bjarne is working on a book for implementors of the language and technically sophisticated users which will be published in a few months which will also be complete and authoritative. -- Non-disclaimer: My boss and I always see eye-to-eye (every time I look in the mirror). ...!genrad!mrst!sdti!wmm