From: "Shiraz Esat" Subject: Re: Flex, Bison and VC++ Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.os.msdos.djgpp References: <351418b8 DOT 583009 AT news DOT mundivia DOT es> Organization: ICL Message-ID: <01bd5650$15b1fb00$5033e391@y2k5.wg.icl.co.uk> NNTP-Posting-Host: 145.227.51.80 Date: 23 Mar 98 11:37:15 GMT Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Blickin' 'eckers! I'm doing the VERY SAME THING!!! What I've done so far: I've set up a Win32 Console App to handle the Flex and Bison stuff, so everything is in 'C'. I've then created another MFC App, to handle all the database access, visual stuff, etc. The MFC App runs the Console App (producing a crappy console window temporarily), which does all the scanning/parsing. Once the console app finishes, control returns to MFC App to allow user to browse the DB. The settings used in the Console App: the .y file is custom built (with command bison -lvd $(InputName).y ) the .l file is custom built (with command flex -Cf -8 -i $(InputName).l ) General: Not Using MFC Link:Object/library modules: flexlib.lib Lord William wrote in article <351418b8 DOT 583009 AT news DOT mundivia DOT es>... > I'm doing an interpreter with vc++. I need an easy way to access > databases using DAO and multithreading features. > I have made the grammar using flex and bison and I don't have problems > compiling the source with the djgpp, but using vc++ (5.0) I have a lot ^---- Can you please explain what this is?? > of problems with redefinitions, macros and so on. > > Have anybody used this tools with visual c++ without too much > problems? Is there any utility or visual c++ compatible tool for ^---- Any-one know of anything free? :-) > making lexical and syntactic analysis? > > Guillermo Gainza > > http://personales.mundivia.es/lord >