🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1442

Re: new neat for syntax discovered

#1442
From: fir
Date: Tue, 10 Nov 2026 20:08
65 lines
2122 bytes
in short i could yet say the for (^) can have such form


int range = 1..8
int count = 20
int list = {2,3,4,4,4,3}
int array[] = {2,3,4,5,6}

^range {}
^count {}
^list  {}
^array {}


(not sure as to naming esp 'count' ..also this list is close to array 
but it also may be a structure/tuple with various data eventually

^ tuple {}

^ tree {}

it also can be tree eventually etc



SO it is rather clear

this "stream of values" that for produce

(in case of normal for(int =0; i<10;i++) its
0
1
2
3
4
5
6
7
8
9
i name temporal cascade and given  block of code
{} can have more than onesuch cascades inside , some can be sync'd
and some not

for example

int count = 5;

tab[^count]=tab[^count+1];

which will be unrolled


tab[0]=tab[1];
tab[1]=tab[2];
tab[2]=tab[3];
tab[3]=tab[4];
tab[4]=tab[5];






Technical Details
Message-ID: <11cvtks$2feht$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-mail
References: <11cv6t1$2694b$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: Tue, 10 Nov 2026 21:08:39 +0100
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <11cvtks$2feht$1@dont-email.me>
References: <11cv6t1$2694b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 10 Nov 2026 20:09:01 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2603581"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19c0H5YrgWcikafZj4RenmoahWDKaAPsKk="; posting-host="5e24ef116842e5f7dade8922bc1e4cca"
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:8fH20UTOm/wntYzB4Ej2UovGdTU= sha256:qGdRakC6hofGdz/i8i9SmJBsUAyjOnz4URmefWos/hk=
	sha1:IPTPAXn3NhbZh+b1Y/oOlYLBkcQ= sha256:1kUHw6NeuQrFl2d+zCA8xlYGj2YmrD5zvZXG1ICa0Zk=
In-Reply-To: <11cv6t1$2694b$1@dont-email.me>