delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/03/12:54:17

From: "Jongwhan Lee" <leejw51 AT hitel DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: how to use Flex Bison in Visual C++
Date: Sat, 4 Sep 1999 01:02:25 +0900
Organization: Korea Telecom
Lines: 31
Message-ID: <7qos49$gtu$1@news2.kornet.net>
NNTP-Posting-Host: 210.114.21.73
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello
I'm using DJGPP and Visual C 6.0.
I need to use Lex, Yacc for the project.

Flex, Bison is very good.
I've made a simple calculator , but Visual C cannot compile this code.
Beside, I need to get c++ code.
so.

flex calc.l
bison -d calc.y

I just copied.
copy lexyy.c lexyy.cpp
copy calc_tab.c calc_tab.cpp
..
then.
Compile is okay(I adjust some definitions).
Once I activate the parsing, the program stops..

Do I have to use MKS lex and yacc for C++ parsing?
or.
Is there any way to use Flex and Bison with Visual C++ 6.0?

I spent about one week for this.
If you know the answer, thank you very much !!

from Korea



- Raw text -


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