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
_______________________________________________
help-bison@gnu.org 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
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison