Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Yacc (or is that Yucc?)
Message-ID: <1990Oct1.175351.22391@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <4746@monu1.cc.monash.oz>
Date: Mon, 1 Oct 90 17:53:51 GMT

In article <4746@monu1.cc.monash.oz> ins624y@monu4.cc.monash.edu.au (mr  r.   walker) writes:
>   At the moment I am attempting to write a parses for integer
>infix maths formulas, using that dynamic duo Lex and Yacc.

Pardon the cynicism, but this wouldn't happen to be a homework assignment,
would it?

Recommended reading is "The UNIX Programming Environment", by Brian W.
Kernighan and Rob Pike, Prentice-Hall 1984.  Chapter 8 discusses doing
almost exactly what you're after.

Being cynical again, beware that your instructor has undoubtedly seen
K&P and will recognize a straight copy from it. :-)
-- 
Imagine life with OS/360 the standard  | Henry Spencer at U of Toronto Zoology
operating system.  Now think about X.  |  henry@zoo.toronto.edu   utzoo!henry
