Path: utzoo!attcan!uunet!mcrware!jejones From: jejones@mcrware.UUCP (James Jones) Newsgroups: comp.lang.fortran Subject: Re: Is DO WHILE difficult? Summary: darned near *any* compiler construction book will do! Message-ID: <833@mcrware.UUCP> Date: 10 Nov 88 05:59:01 GMT References: <75326@sun.uucp> <75328@sun.uucp> <604@quintus.UUCP> <11112@cup.portal.com> Organization: Microware Systems Corp., Des Moines, Ia. Lines: 12 In article <11112@cup.portal.com>, PLS@cup.portal.com (Paul L Schauble) writes: > The tricks in a Fortran lexical analyzer are indeed interesting. What I'd > like to know is: Are these documented anywhere? All compiler construction books I've seen give various pieces of FORTRAN syntax as prime horrible examples (arrays named EQUIVALENCE, GOTOI, or DIMENSIONA, variables named DO1000I, and many other other fun things). You basically have to be prepared to potentially look at almost the entire statement before you commit yourself to a parse (i.e. do *ANYTHING* that can't be undone). James Jones