hi, I've parsed the simple conditional expression operator in Yacc, e.g. a = (b > 1) ? c : d; I want to parse nest conditional expression operator: e.g. a = (b...
Please take a look at the job description. Email me if you are interested. I actually work for Barcelona Design, not an agency! Barcelona Design is looking...
This should be quite simple, but I must warn you, I only tried this in Bison, I don't have Yacc. Something like expression: name ... ; statement: expression...
Hi, I start a c++ project with visual c++ v6.0. This project uses files generated with flex and yacc. The files generated were put in my project. All the...
Which generator do you use to generate files from lex and yacc? If it's Parser Generator, you should set the "YYDEBUG" in project-setting-c/c++, and set the...
not sure what your flex and bison text files look like but consider the following in your flex file. %{ #include "y.tab.h" // or whatever header that this...
not sure what your flex and bison files look like but consider the following in your flex file... %{ void yyerror(char *err); // you must define yyerror %} ...
I took a stab at this trying to solve the flex and bison errors that I saw. From what's left ... it appears that your C++ environment or project is not setup...
... It says that you do not have "ostream" defined. It also implies that you are using the usual name for standard "out" which is, wait for it, "out". So,...
Ed Preston
epreston@...
Jan 15, 2004 10:55 pm
1873
Hi, I'm trying to compile a few yacc files using flex. Can someone help me?I'm using VC++ on WinXP and trying to give custom build commands. 1.what should be...
yes,i m having the same problem as well, anybody can help me out??? and when i use VC to compile the file gernerated by bison, i got an error for the...
I know this is off the subject and no immediate help for your problem; but, I thought I would throw Bumble-Bee software some bones for their work on their...
is the bumble-bee "yacc-compatible"? i mean can the bumble-bee generate the code from the yacc/bison files? ... bones ... flex ... out??? ... else ... ...
just wondering anybody has succeeded in compiling flex and bison generated C++ files by VC? could anyone email some example files (not the C++ files generated...
Im trying to print and manipulate strings that have come back to YACC Is this possible in this way? sentence: sentence operator sentence {...
hoffhoffyn@...
Jan 20, 2004 3:54 am
1881
I use bison instead of bison++, but I also have the same definitions in both files. But it compiles without any problem because the header file is not...
Thanx, Tony, I tried the bumble-bee software you recommended, it still doesn't work out perfectly, but at least I am having no problem in compiling the two C++...
yes. I have generated bison grammar and used it in Bumble-Bee and vice versa. However, Parser Generator also generates C++ parsers as well. Also the lexers...
I am a VC++ convert from Borland C++ Builder. I am current using VC++ 7.0 from Visual Studio. I generate a C++ lexer and parser from the Parser Generator and...
You need to link to the proper ".lib" file included in the product installation. Open up the help doco and look that the information for both "setting up to...
Ed Preston
epreston@...
Jan 20, 2004 10:17 am
1886
Informative and good product but, IMHO, please take it to the BumbleBee forum. ... From: Anthony Mays [mailto:tonlok2002@...] Sent: Tuesday, 20 January...
Ed Preston
epreston@...
Jan 20, 2004 10:20 am
1887
If you are using lex or flex to generate your lexer will need to do something like the following: in flex or lex file (please understand that my example is a...
Hi, I have some yacc files which need to be compiled. This is the first time i'm using flex/bison to compile any file. I'm using VC++...and i am using custom...
Hey Tony Thanks...that worked very nicely. I have another question if you dont mind or if anyone else has the answer. I was under the impression that...
hoffhoffyn@...
Jan 21, 2004 5:32 am
1890
Thanx, Tony, I have no problem in compiling the c++ files except it still says "unresolved symbol char *yytext" when i have "extern char* yytext" in the...