Article View: comp.lang.c
Article #1459Re: new neat for syntax discovered
From: fir
Date: Wed, 11 Nov 2026 15:45
Date: Wed, 11 Nov 2026 15:45
64 lines
3052 bytes
3052 bytes
fir pisze: > fir pisze: >> Bonita Montero pisze: >>> If there would be no standard solution so far the folks maybe would have >>> accepted that. But syntactically it doesn't woudn't fit in the language >>> if you had this idea at the beginning of C. >> >> >> old c i guess not, though other languages can take that >> (as its kina language agnostic) >> >> >> some may notice it may be allso called "for operator" >> >> as this ^ (or other sign taken here like ' etc) if for operator >> >> (usef on array eveluates array cells in time cascade, used for number >> evaluates expresion containing it etc) >> > watching it tis way opens new ways of seing it somewhat coz if ' is a > for operator then you not need usually to put operator before the block > (this is a for loop classical convention) > > and indeed maybe it should be more operator way (evaluating cascades) > > also this "stream" synchronisation is maybe not totally clear > > > 'a = 9 > > say a is array this above is rather quite good > > 'a ='b > > both are arrays cascades are synchronised, it breaks on shorte > - also seem ok > > 'a= '20 > left stream goes a[0], a[1],... right goes 0,1,2... > breaks on shorter also ok > > int a += 'b sum the values of array b int a int a[''] += b['']['] //or int ''a += ''b['] sum all the rows in b[][] and put it into a[] (?, probably also ok) > but it opens also some more possibiliteies in this form i guess > > for example what with > > 'a = b > > (both are arrays?) should it just go full a stream and b being unrolled > also out of boundary? or should it be something other? > >
Technical Details
Message-ID:
<11d22k7$35j1v$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cv6t1$2694b$1@dont-email.me> <11d1uvp$3414q$1@raubtier-asyl.eternal-september.org> <11d20b5$34l7t$1@dont-email.me> <11d21j4$354il$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: new neat for syntax discovered Date: Wed, 11 Nov 2026 16:45:48 +0100 Organization: A noiseless patient Spider Lines: 64 Message-ID: <11d22k7$35j1v$1@dont-email.me> References: <11cv6t1$2694b$1@dont-email.me> <11d1uvp$3414q$1@raubtier-asyl.eternal-september.org> <11d20b5$34l7t$1@dont-email.me> <11d21j4$354il$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 11 Nov 2026 15:46:15 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3329087"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18p2j1yJPzW2BvV8Aj/VsN0ftxECG5wbbk="; posting-host="fd0bc059d4f5217504b01a2a82a591ba" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:WJN1uAq8sDEwcohabuw4uXnFcSk= sha256:+c8c4UBJwE5hOiQOMHijs8TJgzoP70fuhp3HLuF7dYA= sha1:pdrNtBZ5uRPpXiM2M0mYo+fiFjY= sha256:vxIdVC2fv9fjIjHclHb5nLK8TAAXYCKwepyG6Ik7IBM= In-Reply-To: <11d21j4$354il$1@dont-email.me>