Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.lang.pascal Subject: Re: Re: Modula2's godawful IO. Message-ID: <950010@hpclscu.HP.COM> Date: 11 Apr 88 16:45:08 GMT References: <96@lzaz.ATT.COM> Organization: HP NSG/ISD Computer Language Lab Lines: 12 / hpclscu:comp.lang.pascal / (Duke Robillard) / 9:31 am Apr 6, 1988 / > I hate C as much as the next guy, but it seems to me that printf is > the solution. Has anyone ever written some kind of front end for a > modula compiler to turn printf's into WriteSh*t's? It doesn't seem Yes, Mike Powell's Modula-2 compiler does have a built-in "printf" in its standard I/O module (WHEW!!!). I *never* used those "WriteS**t"'s. I don't know how he did it, but I suspect it was a simple, straightforward (and VERY unModula-like) C implementation.. (I also suspect the compiler knew about printf as a special predefine.) --scu