Path: utzoo!attcan!uunet!tektronix!orca!tekecs!frip!andrew From: andrew@frip.gwd.tek.com (Andrew Klossner) Newsgroups: comp.unix.wizards Subject: Multi-pass compilers defended (was re: /dev/stdin) Message-ID: <10184@tekecs.TEK.COM> Date: 20 Jul 88 02:35:32 GMT References: <16305@brl-adm.ARPA> <8220@ncoast.UUCP> <12327@mimsy.UUCP> <8241@ncoast.UUCP> <12472@mimsy.UUCP> <190@pigs.UUCP> Sender: andrew@tekecs.TEK.COM Organization: Tektronix, Wilsonville, Oregon Lines: 14 [] "any compiler which makes more than one pass over the source code should be shot out of a cannon" This seems rather a parochial attitude. How about the compiler for the microcoders who want program listings (gasp!) with interleaved source and target code? The obvious way to make the listing is with a post-compilation pass, using source code markers generated during preprocessing/lexing. To make it on the fly gets sticky if any serious optimization is going on. -=- Andrew Klossner (decvax!tektronix!tekecs!andrew) [UUCP] (andrew%tekecs.tek.com@relay.cs.net) [ARPA]