[comp.unix.wizards] UNIX-WIZARDS Digest V6#080

Pabbisetty.henr@xerox.com (Nagesh Pabbisetty) (01/16/89)

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.

lang@pearl.PRC.Unisys.COM (Francois-Michel Lang) (01/17/89)

In article <18108@adm.BRL.MIL>, Pabbisetty.henr@xerox.com (Nagesh Pabbisetty) writes:
+ 
+ Folks,
+ 
+ Sometime aog, I had requested for references/tutorials for awk, lex and
+ yacc. I received a lot of responses. 
... including ... 
+ 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!

Does anyone have the reference to the SIGPLAN Notice in question?
Our library is missing some issues, and I don't particularly
want to do a linear search through all that we have.

Any pointers will be appreciated.

I also have a copy of an interesting document called
"A Supplemental Document for AWK,
   or,
Things Al, Pete, and Brian Didn't Mention Much"

by John W. Pierce.  This document details a number
of bugs and undocumented features in AWK.
I don't know where it came from, but lots of folks
around here have copies.

----------------------------------------------------------------------------
Francois-Michel Lang
Paoli Research Center, Unisys Corporation lang@prc.unisys.com (215) 648-7256
Dept of Comp & Info Science, U of PA      lang@cis.upenn.edu  (215) 898-9511

piet@ruuinf (Piet van Oostrum) (01/18/89)

In article <8968@burdvax.PRC.Unisys.COM>, lang@pearl (Francois-Michel Lang) writes:
 `+ 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!
 `
 `Does anyone have the reference to the SIGPLAN Notice in question?

It is Sigplan Notices, vol 18 # 12, Dec 1983, p69--85
-- 
Piet van Oostrum, Dept of Computer Science, University of Utrecht
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)

ditto@cbmvax.UUCP (Michael "Ford" Ditto) (01/19/89)

In article <18108@adm.BRL.MIL> Pabbisetty.henr@xerox.com (Nagesh Pabbisetty) writes:
>1. Unix Programming Environment 
>	by Kernighan and Ritchie
>	Pretice Hall. Inc., ISBN 0-13-937681-X

This book was written by Brian Kernighan and Rob Pike.
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto@cbmvax.commodore.com