Article View: comp.lang.c
Article #1472Re: new neat for syntax discovered
From: fir
Date: Wed, 11 Nov 2026 21:30
Date: Wed, 11 Nov 2026 21:30
74 lines
3744 bytes
3744 bytes
fir pisze:
> bartc pisze:
>>>
>>> it allows you to vrite more complex array-iteration-based codes
>>> in one line
>>
>> Like, APL? It is compact, cryptic, /needs/ Unicode, and whole programs
>> can usually be written on one line. It sounds perfect for your purposes.
>
>
> i dont know this apl looked for a minute and it seem some things form
> there i was anse talked but about in context of 'builtin vector arithmetic'
>
> this what im talking here is 'for operator' (or 'loop operator')
> so it seems a different story
>
>
> note you, like again mention some different syntax things and like
> say they are close of the same - in fact there are a thousands of
> different syntax solutions around, and they are not the same imo
> - though sometimes they are worth mentioning to see the difference
>
> (though sometimes they are not worth mentioning, like people talking
> about this lambdas clojures, they only talk on this becouse its popular
> same as they criticize things that are not popular, like typical crowd
> of sheeps..
>
> some may go crowd of sheeps way but the normal way is to judge things on
> technical level)
hovever as to difficulties i see some too..
though what i give is good enough to take it imo but some
terortical slight problems also can be seen
for example clasic for is such way
[FOR.. ] {block}
i mean for is outside the block and like here
^100 {}
the for is outside the block
in this more oerator view - (maybe its good i us etwo ymbols , say ^ for
more this outdide "for" form i talked before, and say ' for this more
"inside" loop operator) - in this more operator view this operator is
"inside"
like even here
'a='b //coptin tables
and thsi opens some question if it should be inside outside or both, if
its inside it rises a problem on scope of it
for example
'a='b; foo();
may be assume copies a table than runs foo once
but sometimes imo a larfer blocks should be 'unrolled'/(looped)
overally though it is fun..its fun becouse it opens syntax,
such syntax is a box and you may put nice things there
hen the coding becomes interesting and many like small clever pieces of
c, now they will got more
Technical Details
Message-ID:
<11d2mr4$3dor9$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> <11d2406$3640h$1@raubtier-asyl.eternal-september.org> <11d24ig$36an9$1@dont-email.me> <11d2b0c$3939f$1@dont-email.me> <11d2l5m$3d5bp$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 22:30:50 +0100 Organization: A noiseless patient Spider Lines: 74 Message-ID: <11d2mr4$3dor9$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> <11d2406$3640h$1@raubtier-asyl.eternal-september.org> <11d24ig$36an9$1@dont-email.me> <11d2b0c$3939f$1@dont-email.me> <11d2l5m$3d5bp$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 21:31:17 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3597161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Su8jT6ng1fFj2KnQRoFCwNfsIH+UgGPk="; 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:6103SlprAPvgAibG142eTOLrRD8= sha256:K0XE5C0VcuLD+x0LVYnAgTM+HcjNexC3CJyyoB0Yuhk= sha1:b6s2QMlOZG/+aaWdXBlCGERAfV8= sha256:cZeP6aMIUIRT36reNHkmlPE1tbNrOI7Zg46m2g4865o= In-Reply-To: <11d2l5m$3d5bp$1@dont-email.me>