Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!njin!princeton!phoenix!tbrakitz From: tbrakitz@phoenix.Princeton.EDU (Byron Rakitzis) Newsgroups: gnu.gcc Subject: Re: Literate GCC Message-ID: <11898@phoenix.Princeton.EDU> Date: 3 Dec 89 05:33:45 GMT References: <8912030414.AA05673@LOM1.MATH.YALE.EDU> Distribution: gnu Organization: Princeton University, NJ Lines: 31 In-reply-to: ara@LOM1.MATH.YALE.EDU's message of 3 Dec 89 04:14:49 GMT RE: CWEB. I know that a CWEB is available from the /pub/cweb directory on princeton.princeton.edu. I'm not sure whether this program is in the PD. In fact, I doubt it, since the header reads "Copyright Princeton University". However, I'm also sure everyone is free to copy it. For details, contact the author: levy@math.princeton.edu. Regarding the program itself, I don't think it's as successful processing C with WEB as it is for Pascal. For one, C has operators like += and ^= and so on which don't really come across well with the TeX math fonts. Perhaps a re-vamping of the way CWEB pretty-prints things will change it. CWEB changes the way C programs look. Pascal is the kind of language which one associates with textbooks, and left arrows for assignment and so on, but I don't think it goes over well when you see source : if (A == B && A != C) destination: if( A\equiv B \land A \not= C) (I guess you have to know TeX to see why this transformation is incongruous.) Oh well. Just some random late-night ramblings. Please excuse any non-sequiturs. Good night. -- "C Code." "C Code run." "Run, Code, run!" Byron Rakitzis. (tbrakitz@phoenix.princeton.edu ---- tbrakitz@pucc.bitnet) Brought to you by Super Global Mega Corp .com