www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/22/13:30:29

From: jcoffin AT taeus DOT com (Jerry Coffin)
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.os.msdos.djgpp
Subject: Re: Flex, Bison and VC++
Date: Sun, 22 Mar 1998 10:20:43 -0700
Organization: TAEUS
Lines: 31
Message-ID: <MPG.f7ee2e5fe5b1859898ea@news.rmi.net>
References: <351418b8 DOT 583009 AT news DOT mundivia DOT es>
NNTP-Posting-Host: 166-93-76-68.rmi.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <351418b8 DOT 583009 AT news DOT mundivia DOT es>, 
lord_william AT poboxes DOT com says...
> 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
> of problems with redefinitions, macros and so on.

Are you talking about problems compiling the programs themselves, or 
the lexer/parser they generate?

I haven't personally used bison on Win32, but I've had absolutely NO 
problem using flex and byacc.

> Have anybody used this tools with visual c++ without too much
> problems? Is there any utility or visual c++ compatible tool for
> making lexical and syntactic analysis?

flex and byacc work quite well for me -- If memory serves, I did have 
to do a bit of editing on the flex source code to get it to compile, 
though I don't remember what, since that was probably 3 years ago or 
so.  If you want, I can email you the modified source code.

I don't recall making _any_ changes to byacc to get it to work; IIRC, 
there was already a directory containing what was needed under Win32.

-- 
    Later,
    Jerry.

The Universe is a figment of its own imagination.

- Raw text -


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