home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!peach.cis.ohio-state.edu!weiler
- From: weiler@peach.cis.ohio-state.edu (Jerry Weiler)
- Subject: Re: yacc and lex
- In-Reply-To: hooft@fys.ruu.nl's message of Wed, 22 Jul 1992 08: 02:07 GMT
- Message-ID: <WEILER.92Jul22135943@peach.cis.ohio-state.edu>
- Originator: weiler@peach.cis.ohio-state.edu
- Sender: news@cis.ohio-state.edu (NETnews )
- Organization: NAIVE - New And Improved Virtual Environment
- References: <1992Jul21.164738.1@mcclb0.med.nyu.edu>
- <WEILER.92Jul21213719@crabapple.cis.ohio-state.edu>
- <1992Jul22.080207.21315@fys.ruu.nl>
- Date: Wed, 22 Jul 1992 18:59:43 GMT
- Lines: 17
-
- 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
-