www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/17/02:34:17

Message-ID: <33080599.7CD@pobox.oleane.com>
Date: Mon, 17 Feb 1997 08:15:37 +0100
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: Chester Wong <cpw10 AT columbia DOT edu>
CC: djgpp AT delorie DOT com
Subject: Re: YACC and LEX help
References: <3307b942 DOT 10618428 AT news DOT cc DOT columbia DOT edu>

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019