Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/3/85; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!ukma!david From: david@ukma.UUCP (David Herron, NPR Lover) Newsgroups: net.lang.c Subject: Re: Comments on this program please... Message-ID: <2406@ukma.UUCP> Date: Tue, 3-Dec-85 23:50:52 EST Article-I.D.: ukma.2406 Posted: Tue Dec 3 23:50:52 1985 Date-Received: Thu, 5-Dec-85 07:46:53 EST References: <2389@ukma.UUCP> <3090011@csd2.UUCP> <363@codas.UUCP> Reply-To: david@ukma.UUCP (David Herron, NPR Lover) Organization: Univ. of KY Mathematical Sciences Lines: 33 In article <363@codas.UUCP> mikel@codas.UUCP (Mikel Manitius) writes: >> david@ukma.UUCP (David Herron, NPR Lover) / 5:42 pm Nov 22, 1985 */ >> Everybody I've shown this program to has *groaned* and complained >> about what a nasssty program it was... >> >> I think it's *cute*! >> >> [ ... some nasty C code ... ] >> > > G R O A N !! Aw cmon!!! I wanted to know *WHY* people were groaning!!! So far the only reasonable complaint I've seen is that it won't work in the general case (though it did work in the specific). And the best solution I've seen is this Lex program: >From cbosgd!seismo!ut-sally!shell!graffiti!peter Tue Nov 26 04:55:18 1985 >%% >ROUTE { printf("\nROUTE"); } >. { printf("%s", yytext); } Which eventually led me to think that the my program itself could be fixed using ungetc() at appropriate places. Or is the problem just religious differences? -- David Herron, cbosgd!ukma!david, david@UKMA.BITNET. Experience is something you don't get until just after you need it.