Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cimshop!davidm From: cimshop!davidm@uunet.UU.NET (David S. Masterson) Newsgroups: comp.lang.c++ Subject: Re: Incompatible changes in C++ Message-ID: Date: 5 Dec 90 18:51:13 GMT References: <9011190326.AA13113@mole.ai.mit.edu> <11642@alice.att.com> <59305@microsoft.UUCP> <192@nazgul.UUCP> Sender: davidm@cimshop.UUCP Distribution: comp Organization: Consilium Inc., Mountain View, California. Lines: 17 In-reply-to: bright@nazgul.UUCP's message of 4 Dec 90 00:27:35 GMT X-Posting-Software: GNUS 3.12 [ NNTP-based News Reader for GNU Emacs ] >>>>> On 4 Dec 90 00:27:35 GMT, bright@nazgul.UUCP (Walter Bright) said: > OK, I'll go first. I'd like to see the rules simplified so that 2 token > lookahead is sufficient for parsing C++. Hmmm. A while back, someone here (memory fails me) posted a YACC compatible C++ grammar that (I think) was very close to 2.0 compatible. This would make the grammar LALR(1), wouldn't it? What level is the grammar at now? BTW, I'm not an in-depth compiler developer, just an interested by-stander. -- ==================================================================== David Masterson Consilium, Inc. (415) 691-6311 640 Clyde Ct. uunet!cimshop!davidm Mtn. View, CA 94043 ==================================================================== "If someone thinks they know what I said, then I didn't say it!" Brought to you by Super Global Mega Corp .com