This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: lex and yacc...


shichunhui@263.net wrote:

> Hi,anyone here has used the lex and yacc in the cygwin?
> I found a byacc and a bison, a flex and a flex++,
> but I am not sure of their usage.Is there anything different
> from the lex,yacc of unix?

We have a number of libraries that use flex and bison. They used to use
lex and yacc - some ported without any modifications. Of particular
note, one library relies on recursive calls to yyparse, which with yacc
required a lot of extra bookkeeping for the global variables. Bison is
better in this regard because most of the variables are on the stack,
which makes recursive use a no-brainer.
--------------------------------------------
Paul Berrevoets              paul@halcyon.ca
Halcyon Inc.           http://www.halcyon.ca

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]