From: Jerry Weiler (weiler@peach.cis.ohio-state.edu)
Date: 07/22/92


From: weiler@peach.cis.ohio-state.edu (Jerry Weiler)
Subject: Re: yacc and lex
Date: Wed, 22 Jul 1992 18:59:43 GMT

In article <1992Jul22.080207.21315@fys.ruu.nl> hooft@fys.ruu.nl (Rob Hooft) writes:
   Well written? The wool.lex code from the GWM window manager can be `flex'ed,
   but the resulting C code is incorrect. The GWM program redefines some of the
   macros which are in lex, but which are implemented differently in flex. I've
   run into this kind of problems with flex repeatedly.

   Bison is another story. Never had any problems using `bison -y' instead of
   yacc. I have atually installed a script called yacc, which calls `bison -y'.

OK. I retract my statement about lex and flex being compatable. I've
never used lex much. I've usually written my own lexical analyzer for
my projects (they're usually very simple and just don't need
lex/flex). What I've really used is bison and all the yacc code I've
seen runs perfectly well with bison; I assumed flex would have been
the same way. I guess not.

- Jerry