Hi Andrew: here is a suggestion from Binoy where you can get a JavaCC grammar for your project. He worked with a JavaCC grammar fro Java. -- Karl From binoy@ccs.neu.edu Fri Apr 10 21:44:21 1998 Subject: Re: C++ grammar They have few interesting grammers here including C++ and IDL - http://www.cs.ucla.edu/~dongwon/JavaCC/ -binoy Karl Lieberherr wrote: > Hi Binoy: > > No. we just want to create Java objects representing C++ programs. > All we need is a C++ grammar for the JavaCC. > Please can you check at SUNTEST whether they have a C++ > grammar? > > -- Karl > >From binoy@ccs.neu.edu Fri Apr 10 15:27:58 1998 > >Received: from speer.ccs.neu.edu (binoy@speer.ccs.neu.edu [129.10.113.102]) > > by amber.ccs.neu.edu (8.8.6/8.8.6) with ESMTP id PAA23381 > > for ; Fri, 10 Apr 1998 15:27:56 -0400 (EDT) > >From: Binoy Samuel > >Received: (from binoy@localhost) > > by speer.ccs.neu.edu (8.8.6/8.8.6) id PAA01596 > > for lieber@ccs.neu.edu; Fri, 10 Apr 1998 15:27:55 -0400 (EDT) > >Message-Id: <199804101927.PAA01596@speer.ccs.neu.edu> > >Subject: Re: C++ grammar > >To: lieber@ccs.neu.edu (Karl Lieberherr) > >Date: Fri, 10 Apr 1998 15:27:55 -0400 (EDT) > >In-Reply-To: <199804101333.JAA05888@stockberg.ccs.neu.edu> from "Karl Lieberherr" at Apr 10, 98 09:33:06 am > >X-Mailer: ELM [version 2.4 PL23beta2] > >MIME-Version: 1.0 > >Content-Type: text/plain; charset=US-ASCII > >Content-Transfer-Encoding: 7bit > >Status: R > > > >No. I didnt come across any yet. > >So you are planning to convert C++ programs to java source? How do you plan to handle C++ source which contains multiple inheritance, operator overloading etc? > > > >-binoy > >> > >>Hi Binoy: > >> > >>do you know of a C++ grammar for the Java Compiler Compiler. > >>We want to parse C++ programs into Java. > >> > >>-- Karl > >> > > > >