Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: write to a text file Pin
dex_ter1114-Dec-04 19:01
dex_ter1114-Dec-04 19:01 
GeneralRe: write to a text file Pin
vishalmore14-Dec-04 19:10
vishalmore14-Dec-04 19:10 
GeneralRe: write to a text file Pin
eli1502197914-Dec-04 21:32
eli1502197914-Dec-04 21:32 
GeneralRe: write to a text file Pin
David Crow15-Dec-04 4:20
David Crow15-Dec-04 4:20 
GeneralActive X for other browsers or something similiar Pin
Jsmooth14-Dec-04 17:10
Jsmooth14-Dec-04 17:10 
QuestionHow to reroute connection Pin
Member 38774714-Dec-04 16:17
Member 38774714-Dec-04 16:17 
AnswerRe: How to reroute connection Pin
Ryan Binns14-Dec-04 18:07
Ryan Binns14-Dec-04 18:07 
GeneralWindows Lex/Yacc (and Bumblebee) Pin
maxmaven14-Dec-04 15:01
maxmaven14-Dec-04 15:01 
I'm trying to get Bumbleebee Software's lex and yacc generator up and running. I'm pretty experienced with lex and yacc, but only on unix systems. The problem is, if I use Bumblebee's ParserWizard, I get a good grammar and can compile, but the resulting application (I'm building into a windows console application) always crashes. I've tried "empty" grammars. I've also tried a grammar that can only produce a single non-terminal, i.e., it should be able to match an input of "binky", and nothing else. No matter what I try, the resulting application always crashes. I've tried reading from stdin and from a file, with no luck. I wish I could copy and paste some of the examples provided with bumblebee (like the calculator grammar), but it seems that most of them are the grammar without an accompanying lexer. I had hoped that there would be a complete example that I could compile in ParserGenerator and then compile in Visual C++ and have a working application (no matter how simple). But, apparently, no luck there.

I would be immensely grateful for any of the following:
1. Any simple grammar (and lexer if needed) that I can compile in Bumblebee and then MSVC and run the resulting console app without a crash.
2. Advice, tips, suggestions on what is needed to get a working Bumblebee generated grammar and lexer. I obviously don't know why my parsers and lexers are not working. Could it be because under unix, anything not parsed gets dumped to stdout, and this is not acceptable in windows? Is it something else that I have not done properly?

Thanks for any help you can offer!

maxmaven
GeneralRe: Windows Lex/Yacc (and Bumblebee) Pin
Ryan Binns14-Dec-04 18:10
Ryan Binns14-Dec-04 18:10 
QuestionHow to create an installation program for my program? Pin
momer14-Dec-04 15:00
momer14-Dec-04 15:00 
AnswerRe: How to create an installation program for my program? Pin
Larry Antram14-Dec-04 15:08
Larry Antram14-Dec-04 15:08 
GeneralRe: How to create an installation program for my program? Pin
momer14-Dec-04 15:58
momer14-Dec-04 15:58 
GeneralMFC dialog box menu weirdness Pin
Uncle Vance14-Dec-04 14:37
Uncle Vance14-Dec-04 14:37 
QuestionCan some body help me.... Pin
Indra_Putra14-Dec-04 13:34
Indra_Putra14-Dec-04 13:34 
AnswerRe: Can some body help me.... Pin
Maximilien14-Dec-04 14:19
Maximilien14-Dec-04 14:19 
AnswerRe: Can some body help me.... Pin
BRIMID15-Dec-04 1:49
BRIMID15-Dec-04 1:49 
GeneralPrint image with DrawImage in GDI+ Pin
giannibal14-Dec-04 12:36
giannibal14-Dec-04 12:36 
Generalgetting icon Pin
pnpfriend14-Dec-04 11:26
pnpfriend14-Dec-04 11:26 
GeneralRe: getting icon Pin
David Crow15-Dec-04 4:23
David Crow15-Dec-04 4:23 
GeneralReading data from Serial Port. Pin
CNewbie14-Dec-04 10:34
CNewbie14-Dec-04 10:34 
GeneralRe: Reading data from Serial Port. Pin
wwwhb200014-Dec-04 14:00
wwwhb200014-Dec-04 14:00 
GeneralFreeing up memory Pin
poiut14-Dec-04 10:29
poiut14-Dec-04 10:29 
GeneralRe: Freeing up memory Pin
David Crow15-Dec-04 2:05
David Crow15-Dec-04 2:05 
GeneralRe: Freeing up memory Pin
poiut15-Dec-04 6:28
poiut15-Dec-04 6:28 
GeneralRe: Freeing up memory Pin
poiut15-Dec-04 6:34
poiut15-Dec-04 6:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.