From owner-freebsd-hackers Fri Nov 29 18:59:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA20006 for hackers-outgoing; Fri, 29 Nov 1996 18:59:18 -0800 (PST) Received: from po1.glue.umd.edu (po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA20001 for ; Fri, 29 Nov 1996 18:59:14 -0800 (PST) Received: from baud.eng.umd.edu (baud.eng.umd.edu [129.2.98.183]) by po1.glue.umd.edu (8.8.3/8.7.3) with ESMTP id VAA18906; Fri, 29 Nov 1996 21:57:48 -0500 (EST) Received: from localhost (chuckr@localhost) by baud.eng.umd.edu (8.8.3/8.7.3) with SMTP id VAA16330; Fri, 29 Nov 1996 21:57:47 -0500 (EST) X-Authentication-Warning: baud.eng.umd.edu: chuckr owned process doing -bs Date: Fri, 29 Nov 1996 21:57:46 -0500 (EST) From: Chuck Robey X-Sender: chuckr@baud.eng.umd.edu To: Archie Cobbs cc: Bob Bishop , terry@lambert.org, stesin@gu.net, hackers@FreeBSD.org Subject: Re: Lex/Yacc question In-Reply-To: <199611300244.SAA10231@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 29 Nov 1996, Archie Cobbs wrote: > > > IMHO, the original papers are still the best general texts on lex and yacc; > > they can be found in the 4.4-Lite distribution under /usr/share/doc/psd. > > I find flex.info and bison.info to be very helpful. Even the man page > for flex is sufficiently complete to get you going. > > FYI, flex is a superior replacement for lex, while bison is a superior > replacement for yacc (IMCO :-). That's a fact. Lots of stuff in the flex man page that you won't find in the original lex docs, I couldn't have done my last class project without it. Among other things, flex doesn't need the lex library like the original lex did, and the stuff on how to parse strings directly (for snazzy macro processing) didn't exist in lex. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------