Mail Archives: djgpp/1997/02/17/02:34:17
> 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 -