🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1464

Re: new neat for syntax discovered

#1464
From: bartc
Date: Wed, 11 Nov 2026 18:09
41 lines
2536 bytes
On 11/11/2026 16:19, fir wrote:
> Bonita Montero pisze:
>> Am 11.11.2026 um 16:06 schrieb fir:
>>
>>> some may notice it may be allso called "for operator"
>>
>> I don't see any sense in this. And a conventional for is
>> somewhat more convenient to read than your exotic syntax.
>>
> operator is much more powerful - its sole sign ' instead of
> 
> for(int i=0; i<tab_max; i++)
>    tab[i];
> 
> vs
> 
> 'tab

This is even shorter:

   tab

Your array-traversing examples won't work beyond simple examples. For 
example, you may have some arbitrary expression with 12 arrays of 
different lengths all with ' or ''; where do you even start to explain 
what it is supposed to mean or how those different loops interact?

For high-level array operations, forget explicit loops, and just have 
proper first class arrays in the language.

Since there seems to be no limit to what this fantasy language can do.


> 
> 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.

Technical Details
Message-ID: <11d2b0c$3939f$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> <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>

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: bartc <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: new neat for syntax discovered
Date: Wed, 11 Nov 2026 18:09:18 +0000
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <11d2b0c$3939f$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 11 Nov 2026 18:09:17 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3444015"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Ec+3H0B6CJfAfZDjdaGD8"; posting-host="6c8185c495e9811302dc5d665cb93fe4"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kiS4VTbe+CEoEajF9GBBK5M35h8= sha256:AO2tOjTmt1FZ7MqYYxaVbrYIdephYUqmHp+/1JmWOkE=
	sha1:YSgnmjDa1D9ccDBWpLmFbb0hYjM= sha256:I04I3Gj/NMu0YCs/4aGIA8U7PP+EeFaZgTL3P7G2lKA=
In-Reply-To: <11d24ig$36an9$1@dont-email.me>
Content-Language: en-GB