Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!jarthur!uci-ics!gateway From: schmidt@zola.ics.uci.edu (Doug Schmidt) Newsgroups: comp.lang.c++ Subject: Re: lex, yacc and c++ Keywords: lex yacc c++ Message-ID: <25E7964E.13558@paris.ics.uci.edu> Date: 25 Feb 90 08:24:46 GMT References: <12756@bambam.WELLESLEY.EDU> Reply-To: schmidt@zola.ics.uci.edu (Doug Schmidt) Organization: University of California, Irvine - Dept of ICS Lines: 20 In-reply-to: my@bambam.WELLESLEY.EDU (My Khanh Hoang) In article <12756@bambam.WELLESLEY.EDU>, my@bambam (My Khanh Hoang) writes: > > I am thinking of using C++ for a project which requires the use of lex > and yacc on Unix. The C++ compiler I have access to is g++. > > I would like to know if these 3 programs are compatible or if there are > versions of lex and yacc which are compatible with g++. If you've got access to GNU g++ I assume you can also get easy access to Bison and FLEX (Bison being GNU's yacc-compatible parser-generator and FLEX being Vern Paxson et al's lex rewrite). Both bison and FLEX generate C code that is compilable with g++. I've used g++/Bison/FLEX for several classes I've taught here at UCI and things have gone smoothly, for the most part. Doug -- The grave's a fine and private place, | schmidt@ics.uci.edu (ARPA) but none, I think, do there embrace. | office: (714) 856-4043 -- Andrew Marvell