help-bison
[Top][All Lists]
Advanced

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

Re: Question about using Bison


From: Philip Herron
Subject: Re: Question about using Bison
Date: Wed, 9 Dec 2009 00:41:04 +0000

You may have good experience using cygwin instead of visual studio but
it depends if you have to use visual studio., writing your own
makefile or using automake might be a nicer solution.
http://www.cygwin.com/. Since from the sounds of it you have to
generate your stuff manually before compiling with msvc.

2009/12/8 Luca <address@hidden>:
> 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
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
>




reply via email to

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