LEX, AWK and YACC references
Nagesh Pabbisetty
Pabbisetty.henr at xerox.com
Sat Jan 14 08:33:58 AEST 1989
Folks,
Sometime aog, I had requested for references/tutorials for awk, lex and
yacc. I received a lot of responses.
THANKS TO EVERYONE WHO RESPONDED!
I have summarized the responses. I chose UPE (K&R) for introductions, #2 in
AWK list and #2 in "LEX & YACC" list.
Good Luck.
Nagesh
716-427-1827 / 5458
-------------------------------------------------------
AWK:
----
1. Unix Programming Environment
by Kernighan and Ritchie
Pretice Hall. Inc., ISBN 0-13-937681-X
(See Chapter 4)
2. The Awk Programming Language
by Alfred V. Aho, Brian W. Kernighan, and Peter J. Weinberger
Addison-Wesley. ISBN 0-201-07981-X
LEX & YACC:
-----------
1. Unix Programming Environment
by Kernighan and Ritchie
Pretice Hall. Inc., ISBN 0-13-937681-X
(See Chapter 8)
2. "Introduction to Compiler Construction with UNIX",
by Axel T. Schreiner and H. George Friedman, Jr.
Prectice-Hall, Inc. ISBN 0-13-474396-2
3. Yacc: Yet Another Compiler Compiler
by Steven C. Johnson
UNIX Programmer's Manual
HRW.
4. PCYACC 2.0
Abraxas Software, Inc.
7033 SW Macadam Ave., Portland, OR 97219
5. BISON---The YACC-compatible Parser Generator
Charles Donnelly and Richard M. Stallman
FSF
675 Mass Ave, Cambridge, MA 02139, Tel: (617) 876-3296
6. See Apollo documentation for tutorials.
7. Try Sun manuals
8. Joys of Lex. (no other details)
9. "A Walk Through AWK" published a couple of years ago in the SIGPLAN
Notices is
the single best introduction I had seen to awk. He treated it like an
ordinary
language first and THEN introduced the wierd features, WITH AN EXPLANATION!
10. Eric Allman recently wrote a couple of articles in "UNIX
Review"(sometime in mid- to late-1988) magazine that delved into yacc.
More information about the Comp.unix.questions
mailing list