home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!alchemy!ruunfs!hooft
- From: hooft@fys.ruu.nl (Rob Hooft)
- Subject: Re: yacc and lex
- Message-ID: <1992Jul22.080207.21315@fys.ruu.nl>
- Organization: Physics Department, University of Utrecht, The Netherlands
- References: <1992Jul21.164738.1@mcclb0.med.nyu.edu> <WEILER.92Jul21213719@crabapple.cis.ohio-state.edu>
- Date: Wed, 22 Jul 1992 08:02:07 GMT
- Lines: 23
-
- In <WEILER.92Jul21213719@crabapple.cis.ohio-state.edu> weiler@crabapple.cis.ohio-state.edu (Jerry Weiler) writes:
-
- >In article <1992Jul21.164738.1@mcclb0.med.nyu.edu> ramirez@mcclb0.med.nyu.edu writes:
-
- >> I would like to know if anybody has ported yacc and lex
- >> over to linux. If yes, please let me know where I can find it.
-
- >You should use bison and flex. bison is the GNU replacement for yacc
- >and flex is the GNU replacement for lex. They're faster, more flexible
- >and all around better. Bison and flex should be able to handle any
- >grammer yacc and lex do (any well written one, that is)
-
- 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'.
- --
- Rob Hooft, Bijvoet Center for Biomolecular Research,
- Chemistry department University of Utrecht, the Netherlands
- hooft@hutruu54.bitnet hooft@chem.ruu.nl hooft@fys.ruu.nl hooft@cc.ruu.nl
-