Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37441F2B.D9AF7F98@swi.com> Date: Thu, 20 May 1999 10:41:47 -0400 From: Paul Berrevoets Organization: SWI Systemware/Halcyon Inc. X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin-list Subject: Re: lex and yacc... References: <19990520094727 DOT 23804 DOT fmail AT 263 DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit shichunhui AT 263 DOT 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 AT halcyon DOT ca Halcyon Inc. http://www.halcyon.ca -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com