www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/23/13:43:11

From: "Shiraz Esat" <s DOT esat AT uk03 DOT wins DOT icl DOT co DOT uk>
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

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 <lord_william AT poboxes DOT com> 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
> <lord_william AT poboxes DOT com>
> http://personales.mundivia.es/lord
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019