Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Is this valid C? Date: Sat, 25 Feb 2017 12:43:26 -0800 Organization: None to speak of Lines: 26 Message-ID: References: <9a61886f-1f50-4b4c-a088-6e378cba9f68@googlegroups.com> <_IHrA.22938$fI2.19705@fx19.iad> <76cdc354-0e2e-4458-b7e9-b046192f88b1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="26f635ca6c8fd6198c9c9c2b8f050714"; logging-data="22293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18l9OSSvj9ngQ15UIYUlHnE" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:dmpSv21wwpBrHoOqaGs4FU+1vq4= sha1:qp9wR0NM129dCJ3gtPmMyVQ40OE= Xref: csiph.com comp.lang.c:104715 BartC writes: [...] > Posted C source may already be intermediate code, not the original > source, if the original was a pseudo-code algorithm or a flow-chart > written on the back of an envelope. > > Maybe people should post pictures of the envelope! [...] The GPL (whatever you may think of it in general) has, IMHO, a reasonable definition of "source code": The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. If you use tools to generate C source and then perform further maintenance directly on the C source, then that's the "source code". If any changes require modifying some input file and re-running the tool, then the C source is not "source code". -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"