help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about using Bison


From: Luca
Subject: Re: Question about using Bison
Date: Tue, 08 Dec 2009 22:21:56 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Anna Ilinkova ha scritto:
Good afternoon!
Sorry, I would like you to help me with a problem.
I'm working on the computer with Windows XP Professional. Besides MS Visual
Studio 2005 is installed.
I've faced with a problem with starting and compilation of the code, written
in Bison notation.
My question is the following: what additional utiles I might have and how I
must apply them to compile the code?..

I'll be very grateful if you help me. Look forward to hearing from you soon.
All the best, Anna Ilinkova
_______________________________________________
address@hidden http://lists.gnu.org/mailman/listinfo/help-bison

The code generated by bison should compile using Visual Studio, try with a C/C++ console application project. First of all remove "precompiled header", add the current directory (".") to the "additional include directory", set "Use Multi-Byte Character Set*" *and add "unistd.h" to the header files (bison should provide it, but you can also retrieve it from mingw). You can also compile the code as "C++ managed" if you need to use the .NET library (of course the parser speed will be slower). I had written many parsers using bison and flex and compiling under VS, let me know if you have some problems.

Luca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]