Message-ID: <33080599.7CD@pobox.oleane.com> Date: Mon, 17 Feb 1997 08:15:37 +0100 From: Francois Charton Organization: CCMSA MIME-Version: 1.0 To: Chester Wong CC: djgpp AT delorie DOT com Subject: Re: YACC and LEX help References: <3307b942 DOT 10618428 AT news DOT cc DOT columbia DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Hi. Can someone point me to places where I can learn how to use YACC and > LEX??? Thanks so much!!! > GCC and DJGPP include clones of LEX and YACC, called FLEX and BISON. Download them, in DJGPP the files you need are FLX***b.zip and BSN***b.zip. Inside these archives are .inf info files, which are the manuals to flex and bison. These two manuals are much self contained, and you can use them to teach yourself Flex and Bison. To know more about these programs (Flex and Yacc), you could read "Compilers", by Aho, Uhlmann and Sethi, ed. Addison Wessley (aka the Red Dragon Book). It describes LEX and YACC (from the point of view of the algorithms they use) in much detail. It is a fairly complex book, but a must read if you are interested by such subjects as parsing, languages, compilers... Francois