Search the web
Sign In
New User? Sign Up
flexbisonwin32 · Flex & BISON on Win32
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1471 - 1500 of 4338   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1471
Hi, I am using lex and yacc to develope a translator to parse C++ file. Is there any grammar available to recognize C++ source code? Thanks, YY...
yyan95112 <yyan95112@...
yyan95112
Offline Send Email
Feb 3, 2003
5:17 am
1472
Try: http://www.sigala.it/sandro/download.html A.R....
anrus <arus_mail@...>
anrus
Offline Send Email
Feb 3, 2003
9:50 am
1473
I want to build a parser to compile, link, and run in an 8051 microcontroller using Keil's uVision/51. Has anybody out there done this before? Spencer Doidge...
spencerd743 <spencer@...
spencerd743
Offline Send Email
Feb 5, 2003
1:21 am
1474
I certainly haven't.. I think that you'll have fun porting C to that platform. What chip is that? Wilbur ... Putting A Human Face On Technology ;-) ... ...
Wilbur Streett
wylburit
Offline Send Email
Feb 5, 2003
1:38 am
1475
One of the chips is the Cypress EZ-USB. I'm having a problem with the FILE macro. My system's <stdio.h> doesn't define that. I can't override FILE with my own...
spencerd743 <spencer@...
spencerd743
Offline Send Email
Feb 5, 2003
9:42 pm
1476
Hello all, Is it possible to parse statments from stdin using flex/bison in win32? All the examples you guys have are parsing from files. I have tried this...
RUFUS_04 <rufus_04@...>
RUFUS_04
Offline Send Email
Feb 6, 2003
12:54 am
1477
It might be the end of line character that isn't hitting.. Wilbur ... Putting A Human Face On Technology ;-) ... Literally! http://www.TheFaceOf.com...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
1:15 am
1478
I tried eating the newline char, and I tried sending it to bison as part of the parse(grammar). Both did not work. Do you have any code where you used stdin...
RUFUS_04 <rufus_04@...>
RUFUS_04
Offline Send Email
Feb 6, 2003
2:08 am
1479
Hi, I have been using flex and bison for some time now, and I've been able to create some rather extensive parsers in a unix environment with gcc. I've been...
sengoku_666 <sengoku6...
sengoku_666
Offline Send Email
Feb 6, 2003
3:09 am
1480
But I think on the console it's not newline, but rather carriage return.. not 10 by rather 13 ... Wilbur ... Putting A Human Face On Technology ;-) ... ...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
3:35 am
1481
The port that I've done has never had a problem with the files being compiled on linux.. http://www.monmouth.com/~wstreett/lex-yacc/lex-yacc.html I don't...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
3:35 am
1482
Create dummy unistd.h file & put it in standard include path. This will work... ... From: sengoku_666 <sengoku666@...> [mailto:sengoku666@...] ...
Channaveeraya Matada
Channaveeraya.WM@...
Send Email
Feb 6, 2003
4:00 am
1483
That didn't work either... Thanks though. #define YY_INPUT(buf,result,max_size) \ { \ int c = getchar(); \ result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \ }...
RUFUS_04 <rufus_04@...>
RUFUS_04
Offline Send Email
Feb 6, 2003
7:05 am
1484
This is probably an unacceptable solution, but when I develop parsers for C++ builder, I just comment out the call to #include <unistd.h>, and all works fine....
Martin Grogan
groganm@...
Send Email
Feb 6, 2003
11:58 am
1485
Yu have to comment everytime yu generate cpp files. Instead of doing that, yu can create a dummy unistd.h header file & put it in standard headers directory, ...
Channaveeraya Matada
Channaveeraya.WM@...
Send Email
Feb 6, 2003
12:03 pm
1486
Since bison lets you put your own #defines and such at the top of your output .c file, it was easy to port to with my oddball microcontroller. I didn't find a...
spencerd743 <spencer@...
spencerd743
Offline Send Email
Feb 6, 2003
4:57 pm
1487
But what platform do you want to port to? Wilbur ... Putting A Human Face On Technology ;-) ... Literally! http://www.TheFaceOf.com...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
7:00 pm
1488
In this case it's the Cypress EZ-USB 8051 microcontroller. I don't know what the next one is, because the data sheet isn't here right now. It will be some...
spencerd743 <spencer@...
spencerd743
Offline Send Email
Feb 6, 2003
7:07 pm
1489
Well, I can give you the source of the port and you can modify it in there.. Wilbur ... Putting A Human Face On Technology ;-) ... Literally!...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
7:12 pm
1490
Fantastic! Can I build it in MS Visual C++ 6.0? ... in there.. ... here ... extreme ... gone ... would ... just ... <Wilbur@T...> ... of ... I'm ... ...
spencerd743 <spencer@...
spencerd743
Offline Send Email
Feb 6, 2003
7:17 pm
1491
You should be able to .. it was ported in MSVC 5.0 I'll send you the source directly, rather than to the list. Wilbur ... Putting A Human Face On Technology...
Wilbur Streett
wylburit
Offline Send Email
Feb 6, 2003
7:37 pm
1492
You can find on the internet free C cross compilers for 8051 ( and also Basic compilers ). To write a new one may be a difficult task , but surre it is also an...
anrus <arus_mail@...>
anrus
Offline Send Email
Feb 7, 2003
9:41 am
1493
Sorry, I misunderstood. You have allready a C compiler for 8051 and you want to port Flex/Bison . Have you enought memory for that ?...
anrus <arus_mail@...>
anrus
Offline Send Email
Feb 7, 2003
11:04 am
1494
Hi, I have C grammer files and lex specifications. I have started using flex and bison just a few days ago. I have generated lex.yy.c and parser_tab.c files...
Atul K
atulkhekade
Offline Send Email
Feb 8, 2003
8:01 am
1495
ATUL, Try adding a simple yyerror function in your main file. e.g. yyerror(char *s) { printf("Error %s\n",s); } I'm really surprised you have gone as far as...
Michael Stolnicki
michaels_mea...
Offline Send Email
Feb 8, 2003
1:36 pm
1496
Hi Mike, I tried doing it. It did compile properly but tlink couldnt link it. The linker is now giving errors : "unknown symbol _lineno" Theres one more error...
Atul K
atulkhekade
Offline Send Email
Feb 8, 2003
2:29 pm
1497
Hi Mike, I tried doing it. It did compile properly but tlink couldnt link it. The linker is now giving errors : "unknown symbol _lineno" Theres one more error...
Atul K
atulkhekade
Offline Send Email
Feb 8, 2003
2:30 pm
1498
Hi Mike, I tried doing it. It did compile properly but tlink couldnt link it. The linker is now giving errors : "unknown symbol _lineno" Theres one more error...
Atul K
atulkhekade
Offline Send Email
Feb 8, 2003
2:31 pm
1499
Hello everyone -- I'm trying to get Flex to generate a Lexical Analyzer for the LexByLex sample code from the Grune Modern Compiler Design course for my course...
Ray Schneider
schneirj@...
Send Email
Feb 8, 2003
8:41 pm
1500
Sadly, Wilbur, lex fails for lack of portability. Specifically, the use of FILE and its fields, ties the program to UNIX. Rewriting the code to make i/o more...
Spencer Doidge
spencerd743
Offline Send Email
Feb 11, 2003
4:15 am
Messages 1471 - 1500 of 4338   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help