🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

38 total messages Started by fir Tue, 10 Nov 2026 13:40
new neat for syntax discovered
#1417
Author: fir
Date: Tue, 10 Nov 2026 13:40
59 lines
2064 bytes
"10.11.26 new for syntax discovered"

(i will post it here yet, as a kinda tutorial becouse before it was 
essily written)

new for is ^

^ {}

this makes infinite loop

iuo want loop 1000 times

{} ^ 1000


(this rightside form is more natural bu some leftside must be taken
(for now maybe

^ 1000 {}

though it may chnge maybe)

wnnna iterate for i?

int i = width;
int j = height;

^ j ^ i {tab[j][i]=0;}

some could say there should be a shortcut

dst[^j][^i]=source[j*1.2][i*1.2];


but there is a question when ^T ^S should work in "parraler"
and when like tensor (?) way (you know all pairs fired)



probably some syntax need to be extablished like


dst[^^j][^i]=source[j*1.2][i*1.2];

^^J being second grade loop and all irst grade should go in 
parallel/synchronised











Re: new neat for syntax discovered
#1418
Author: fir
Date: Tue, 10 Nov 2026 13:48
28 lines
1821 bytes
fir pisze:
> 
> int i = width;
> int j = height;
> 
> ^ j ^ i {tab[j][i]=0;}


here obviously you cann add ranges

int i = R..width-1-R;
int j = R..height-1-R;

  ^ j {^ i {tab[j][i]=0;}}

or lists

int T = {2,3,4,5,3,8,2};
char S = {'s','d','d', 'b','f','a','x'};

txt[^T]= ^S; //eventually ^i=6 {txt[T[i]] = S[i]}


//i know this above is not offcialsyntax and it would be more
// int T[] = {2,3,4,5,3,8,2};
//but i recently think if not to skip some , but im not sure yet
// so instinctivly i wrote without [] but officially it can be put
Re: new neat for syntax discovered
#1420
Author: fir
Date: Tue, 10 Nov 2026 13:56
19 lines
1785 bytes
fir pisze:
> 
> txt[^T]= ^S; //eventually ^i=6 {txt[T[i]] = S[i]}

well here may be some typu if i ca be list or scope here

then 6 can be considered as scope 0..5 or list {6}
its maybe a bit risky to consider 6 as scope right on a way

if so those ^ 1000 f(); also seem doubtfull

espoecilally as ^6 {}  "for six times {}" seem ok but

^i=6 {} not necessary seem ok
...though i=6; ^i {}; seem ok in turn imo like

^H ^W {Setpixel(W,H,0x00000}};
also seem ok so i dont kow yet fully
Re: new neat for syntax discovered
#1442
Author: 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];






Re: new neat for syntax discovered
#1443
Author: fir
Date: Tue, 10 Nov 2026 20:13
76 lines
2698 bytes
fir pisze:
> 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];
> 
this one os obviously sync'd

it need soem basic theory to see that maybe some could say that


ine expressions ^s+^d*^h  all that having same "^" are sync'd and


^s+^d*^h /^^ss-^^i

here ^^ are sync'd with other ^^  so
all ^ ^  ^ are syncd all ^^ ^^ ^^ are sync'd but ^ to ^^ are orthogonal

by sync'd i mean when ^ is unrolled by 1 other ^ is also unrolled by one
but ^ and ^^ are unrolled independently
Re: new neat for syntax discovered
#1444
Author: fir
Date: Tue, 10 Nov 2026 20:26
45 lines
2004 bytes
fir pisze:
> 
>> for example
>>
>> int count = 5;
>>
>> tab[^count]=tab[^count+1];
>>
>>

well some here could say that

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

is more clear (possibly)

though some could say also  note

enum {a_max=100};
int a[a_max];

enum {b_max=200};
int b{b_max];

a[^a_max]=b[^b_max]

is better if we assume that evaluation breaks on shorter one

otherwise one would need write

  ^count = min(a_max, b_max)   {a[count]=b[count]}

this is worse becouse counting that min is not needed

though indeed this for in side the tables a[^a_max]=b[^b_max]
maybe dont looks best..though as i said probably

^a = ^b

can do the work




Re: new neat for syntax discovered
#1446
Author: fir
Date: Tue, 10 Nov 2026 20:34
77 lines
2445 bytes
fir pisze:
> fir pisze:
>>
>>> for example
>>>
>>> int count = 5;
>>>
>>> tab[^count]=tab[^count+1];
>>>
>>>
> 
> well some here could say that
> 
> ^count tab[count]=tab[count+1]
> 
> is more clear (possibly)
> 
> though some could say also  note
> 
> enum {a_max=100};
> int a[a_max];
> 
> enum {b_max=200};
> int b{b_max];
> 
> a[^a_max]=b[^b_max]
> 
> is better if we assume that evaluation breaks on shorter one
> 
> otherwise one would need write
> 
>   ^count = min(a_max, b_max)   {a[count]=b[count]}
> 
> this is worse becouse counting that min is not needed
> 
> though indeed this for in side the tables a[^a_max]=b[^b_max]
> maybe dont looks best..

maybe its a mater of takin this 'for' sign

x=100

tab['x]=tab['x+1]

forexample this above looks better (^ is fmainy for ilustration as it 
oryginated as a power)

tab[^x]=tab[^x+1]

a['a_max] = b['b_max]


'100 foo()

'i foo(i)
foo('i)

int x=100, y=200;
tab[''y]['x]=0;


printf("%d", 'i=10..20)





> 
> ^a = ^b
> 
> can do the work
> 
> 
> 
> 
> 
Re: new neat for syntax discovered
#1448
Author: fir
Date: Tue, 10 Nov 2026 20:48
105 lines
3102 bytes
fir pisze:
> fir pisze:
>> fir pisze:
>>>
>>>> for example
>>>>
>>>> int count = 5;
>>>>
>>>> tab[^count]=tab[^count+1];
>>>>
>>>>
>>
>> well some here could say that
>>
>> ^count tab[count]=tab[count+1]
>>
>> is more clear (possibly)
>>
>> though some could say also  note
>>
>> enum {a_max=100};
>> int a[a_max];
>>
>> enum {b_max=200};
>> int b{b_max];
>>
>> a[^a_max]=b[^b_max]
>>
>> is better if we assume that evaluation breaks on shorter one
>>
>> otherwise one would need write
>>
>>   ^count = min(a_max, b_max)   {a[count]=b[count]}
>>
>> this is worse becouse counting that min is not needed
>>
>> though indeed this for in side the tables a[^a_max]=b[^b_max]
>> maybe dont looks best..
> 
> maybe its a mater of takin this 'for' sign
> 
> x=100
> 
> tab['x]=tab['x+1]
> 
> forexample this above looks better (^ is fmainy for ilustration as it 
> oryginated as a power)
> 
> tab[^x]=tab[^x+1]
> 
> a['a_max] = b['b_max]
> 
> 
> '100 foo()
> 
> 'i foo(i)
> foo('i)
> 
> int x=100, y=200;
> tab[''y]['x]=0;
> 
> 
> printf("%d", 'i=10..20)
> 
> 

ye it looks standabe..also note that c empowered with that could 
eventually more use terminology of temporal cascades than loops

'100 //anonymous temporal cascade

'i //i-indexed temporal cascade

'i=a..b //same, i-indexed from a to b

tab[]

'tab //temporal cascade of array values (more precisely cells not values 
as you may also assigns to cells

'tab = 10

int i = 200
const int tab_max = 300;
int tab[tab_max];

'tab = 'i+90 //assign first 200 cells of tab with values 90...289




> 
> 
> 
>>
>> ^a = ^b
>>
>> can do the work
>>
>>
>>
>>
>>
> 
Re: new neat for syntax discovered
#1452
Author: fir
Date: Tue, 10 Nov 2026 22:37
38 lines
1960 bytes
fir pisze:
> 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
> 

yet may stand a question if this for should work on condition

like

^res!=0 {res = foo()}


probably yes also (though it probably needs to look out more cases maybe
Re: new neat for syntax discovered
#1456
Author: Bonita Montero
Date: Wed, 11 Nov 2026 14:44
3 lines
1478 bytes
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.
Re: new neat for syntax discovered
#1457
Author: fir
Date: Wed, 11 Nov 2026 15:06
18 lines
1887 bytes
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)

Re: new neat for syntax discovered
#1458
Author: fir
Date: Wed, 11 Nov 2026 15:28
51 lines
2749 bytes
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


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?

Re: new neat for syntax discovered
#1459
Author: fir
Date: Wed, 11 Nov 2026 15:45
64 lines
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?
> 
> 
Re: new neat for syntax discovered
#1460
Author: Bonita Montero
Date: Wed, 11 Nov 2026 16:09
9 lines
1597 bytes
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.


Re: new neat for syntax discovered
#1461
Author: fir
Date: Wed, 11 Nov 2026 16:19
21 lines
1874 bytes
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


it allows you to vrite more complex array-iteration-based codes
in one line
Re: new neat for syntax discovered
#1462
Author: Bonita Montero
Date: Wed, 11 Nov 2026 16:46
8 lines
1683 bytes
Am 11.11.2026 um 17:19 schrieb fir:

> it allows you to vrite more complex array-iteration-based codes
> in one line
For me this code isn't expressive enough.

And your posting frequency is abolutely insane.
Re: new neat for syntax discovered
#1463
Author: fir
Date: Wed, 11 Nov 2026 16:48
10 lines
1810 bytes
Bonita Montero pisze:
> Am 11.11.2026 um 17:19 schrieb fir:
> 
>> it allows you to vrite more complex array-iteration-based codes
>> in one line
> For me this code isn't expressive enough.
> 
> And your posting frequency is abolutely insane.
> 
its not so insane i just dont like to be bored
Re: new neat for syntax discovered
#1464
Author: 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.

Re: new neat for syntax discovered
#1465
Author: Bonita Montero
Date: Wed, 11 Nov 2026 19:13
6 lines
1666 bytes
Am 11.11.2026 um 17:48 schrieb fir:

> its not so insane i just dont like to be bored

You're bipolar.
Re: new neat for syntax discovered
#1466
Author: Ross Finlayson
Date: Wed, 11 Nov 2026 20:45
77 lines
2937 bytes
On 11/10/2026 05:40 AM, fir wrote:
> "10.11.26 new for syntax discovered"
>
> (i will post it here yet, as a kinda tutorial becouse before it was
> essily written)
>
> new for is ^
>
> ^ {}
>
> this makes infinite loop
>
> iuo want loop 1000 times
>
> {} ^ 1000
>
>
> (this rightside form is more natural bu some leftside must be taken
> (for now maybe
>
> ^ 1000 {}
>
> though it may chnge maybe)
>
> wnnna iterate for i?
>
> int i = width;
> int j = height;
>
> ^ j ^ i {tab[j][i]=0;}
>
> some could say there should be a shortcut
>
> dst[^j][^i]=source[j*1.2][i*1.2];
>
>
> but there is a question when ^T ^S should work in "parraler"
> and when like tensor (?) way (you know all pairs fired)
>
>
>
> probably some syntax need to be extablished like
>
>
> dst[^^j][^i]=source[j*1.2][i*1.2];
>
> ^^J being second grade loop and all irst grade should go in
> parallel/synchronised
>
>
>
>
>
>
>
>
>
>
>
>


Perhaps you'd rather explore "array languages" like "APL"
or a variety of modern ones, they really take the syntax
to the extreme for the minimalist.

Unfortunately most of their characters don't exist on a keyboard, ....

Adding constructs to the language results potentially very much
changing the requirements of all the tooling about the syntax
and keeping the un-ambiguity about accounts of strengths of grammars.

The "for" is already "sugar", one might figure more for
"since" and "until", about expressitivity, those also
being "sugar", yet about the negatory.

Re: new neat for syntax discovered
#1467
Author: Ross Finlayson
Date: Wed, 11 Nov 2026 20:48
20 lines
2347 bytes
On 11/11/2026 11:13 AM, Bonita Montero wrote:
> Am 11.11.2026 um 17:48 schrieb fir:
>
>> its not so insane i just dont like to be bored
>
> You're bipolar.
>

Hard to say, we don't know when he, or, it I suppose we
should say generally these days since it's not just they/them
anymore and might just be a bot or it, we don't know whether
the manic/depressive whether maybe he's just a maniac.

Of course since we're not necessarily trying to diagnose them
then sell them drugs and demand they take them, it's a fair
sort of account after behavior like "that's scatter-brained".

No offense, ....

Re: new neat for syntax discovered
#1468
Author: fir
Date: Wed, 11 Nov 2026 20:48
58 lines
3187 bytes
bartc pisze:
> 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.
> 

if you give example i may see...

normalli code in c on span of 25 years and didnt seen that what youre 
talkin about

tab alone you rather cant use becouse normally it has other meaning
- though some can use warious default meanings in special contextes

' understood as loop operator for me is good, and some default rules are 
not hard (i mentioned some of them)

but if youre boring give some examples and we may see


> 
>>
>> 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.
> 
> 
Re: new neat for syntax discovered
#1469
Author: fir
Date: Wed, 11 Nov 2026 21:02
28 lines
2600 bytes
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)
Re: new neat for syntax discovered
#1470
Author: fir
Date: Wed, 11 Nov 2026 21:06
16 lines
2103 bytes
Bonita Montero pisze:
> Am 11.11.2026 um 17:48 schrieb fir:
> 
>> its not so insane i just dont like to be bored
> 
> You're bipolar.
> 

youre c++ liker, g

uess which is worse

(not saying im a bipolar, btw.. someties i may be, but to limited 
extend..i just dont want to be bored, and in fact i was focused on this 
loop topic ..normally i would write other code or do other things so i 
wouldnt post a series of posts..but if im in a mood then only better)
Re: new neat for syntax discovered
#1471
Author: Bonita Montero
Date: Wed, 11 Nov 2026 21:28
14 lines
2406 bytes
Am 11.11.2026 um 21:48 schrieb Ross Finlayson:

> Hard to say, we don't know when he, or, it I suppose we
> should say generally these days since it's not just they/them
> anymore and might just be a bot or it, we don't know whether
> the manic/depressive whether maybe he's just a maniac.

Fir is almost certainly manic a great deal of the time. This is
evident from the frequency of his posts and the fact that he almost
constantly replies to himself. Fir is unable to synthesize the various
thoughts he posts piecemeal into a coherent whole, to filter out what
is inconsequential, or to post in a considered manner. We don’t see
the depression, but in cases of bipolar disorder, it is almost always
present.
Re: new neat for syntax discovered
#1472
Author: fir
Date: Wed, 11 Nov 2026 21:30
74 lines
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



Re: new neat for syntax discovered
#1473
Author: fir
Date: Wed, 11 Nov 2026 21:32
18 lines
2570 bytes
Bonita Montero pisze:
> Am 11.11.2026 um 21:48 schrieb Ross Finlayson:
> 
>> Hard to say, we don't know when he, or, it I suppose we
>> should say generally these days since it's not just they/them
>> anymore and might just be a bot or it, we don't know whether
>> the manic/depressive whether maybe he's just a maniac.
> 
> Fir is almost certainly manic a great deal of the time. This is
> evident from the frequency of his posts and the fact that he almost
> constantly replies to himself. Fir is unable to synthesize the various
> thoughts he posts piecemeal into a coherent whole, to filter out what
> is inconsequential, or to post in a considered manner. We don’t see
> the depression, but in cases of bipolar disorder, it is almost always
> present.

you dont synthesize things when you work on something - i will 
synthesize things later
Re: new neat for syntax discovered
#1474
Author: fir
Date: Wed, 11 Nov 2026 21:47
17 lines
2021 bytes
fir pisze:
> for example
> 
> 'a='b; foo();

though youre sorta right if a is int a[200] and b is int b[200]

then a =b may be defined as copying whole array
and even a = 5*b may mean copy an array and multiply by 5 its cells)
  and it may be quite reasonable vector/array arithmetic (and i opt ofr 
such vactor arithmetic built-in)

but not all you do can be done in such pure vector arithmetic
and imo you need such loop operator eve if you got vector arithmetic builtin


Re: new neat syntax discovered for
#1475
Author: Lawrence D’Oliveiro
Date: Wed, 11 Nov 2026 22:05
25 lines
1977 bytes
On Wed, 11 Nov 2026 12:45:33 -0800, Ross Finlayson wrote:

> Perhaps you'd rather explore "array languages" like "APL" or a
> variety of modern ones, they really take the syntax to the extreme
> for the minimalist.
>
> Unfortunately most of their characters don't exist on a keyboard,
> ....

Python is an actual widely-available language that offers most of
these exotic features anyway, but in an easier-to-digest form.

E.g. overloading multiplication to do replication of sequence types:

    >>> ['hi'] * 3
    ['hi', 'hi', 'hi']
    >>> 'hi' * 3
    'hihihi'
    >>> ['hi', 'there'] * 3
    ['hi', 'there', 'hi', 'there', 'hi', 'there']

Or how about “list comprehensions”:

    >>> list(i * i for i in range(10))
    [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
Re: new neat for syntax discovered
#1476
Author: fir
Date: Wed, 11 Nov 2026 22:13
33 lines
2408 bytes
fir pisze:
> fir pisze:
>> for example
>>
>> 'a='b; foo();
> 
> though youre sorta right if a is int a[200] and b is int b[200]
> 
> then a =b may be defined as copying whole array
> and even a = 5*b may mean copy an array and multiply by 5 its cells)
>   and it may be quite reasonable vector/array arithmetic (and i opt ofr 
> such vactor arithmetic built-in)
> 
> but not all you do can be done in such pure vector arithmetic
> and imo you need such loop operator eve if you got vector arithmetic 
> builtin
> 

  overally i may say all that (say those both foms

{ } ^ i = 3..9


and 'a='b

are not finished in many details but its also fun see how it will be then

fun is double-wise potentially

1) it will be finished so it will have thngs in box
2) it will open maybe some new gates for more syntax ;c

Re: new neat syntax discovered for
#1477
Author: fir
Date: Wed, 11 Nov 2026 22:28
48 lines
2580 bytes
Lawrence D’Oliveiro pisze:
> On Wed, 11 Nov 2026 12:45:33 -0800, Ross Finlayson wrote:
> 
>> Perhaps you'd rather explore "array languages" like "APL" or a
>> variety of modern ones, they really take the syntax to the extreme
>> for the minimalist.
>>
>> Unfortunately most of their characters don't exist on a keyboard,
>> ....
> 
> Python is an actual widely-available language that offers most of
> these exotic features anyway, but in an easier-to-digest form.
> 
> E.g. overloading multiplication to do replication of sequence types:
> 
>      >>> ['hi'] * 3
>      ['hi', 'hi', 'hi']
>      >>> 'hi' * 3
>      'hihihi'
>      >>> ['hi', 'there'] * 3
>      ['hi', 'there', 'hi', 'there', 'hi', 'there']
> 
> Or how about “list comprehensions”:
> 
>      >>> list(i * i for i in range(10))
>      [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
> 

here that would be

^i=10 {i*i} //clasical loop

such C is shorter than in python then

or
'10 * '10  // inner streams

streams look stupid here maybe and im not sure if it means something 
wrong with them or just  it shows its better write

{i='10; i*i;}

maybe this external/outside form is better? those yet are details to 
establish or fix



Re: new neat syntax discovered for
#1478
Author: fir
Date: Wed, 11 Nov 2026 22:35
55 lines
2950 bytes
fir pisze:
> Lawrence D’Oliveiro pisze:
>> On Wed, 11 Nov 2026 12:45:33 -0800, Ross Finlayson wrote:
>>
>>> Perhaps you'd rather explore "array languages" like "APL" or a
>>> variety of modern ones, they really take the syntax to the extreme
>>> for the minimalist.
>>>
>>> Unfortunately most of their characters don't exist on a keyboard,
>>> ....
>>
>> Python is an actual widely-available language that offers most of
>> these exotic features anyway, but in an easier-to-digest form.
>>
>> E.g. overloading multiplication to do replication of sequence types:
>>
>>      >>> ['hi'] * 3
>>      ['hi', 'hi', 'hi']
>>      >>> 'hi' * 3
>>      'hihihi'
>>      >>> ['hi', 'there'] * 3
>>      ['hi', 'there', 'hi', 'there', 'hi', 'there']
>>
>> Or how about “list comprehensions”:
>>
>>      >>> list(i * i for i in range(10))
>>      [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
>>
> 
> here that would be
> 
> ^i=10 {i*i} //clasical loop
> 
> such C is shorter than in python then
> 
> or
> '10 * '10  // inner streams
> 
> streams look stupid here maybe and im not sure if it means something 
> wrong with them or just  it shows its better write
> 
> {i='10; i*i;}
> 
> maybe this external/outside form is better? those yet are details to 
> establish or fix
> 
> 
> 
> 

this one feels very ^i=10 {i*i}  classical thus is kinda safe

this what ia call inner streams a='i*b much less clasical thus
not so safe but there is hope it can have some more possibilities tan
classical old ^i=10 {i*i}
Re: new neat for syntax discovered
#1479
Author: Bonita Montero
Date: Wed, 11 Nov 2026 22:45
6 lines
1923 bytes
Am 11.11.2026 um 22:32 schrieb fir:

> you dont synthesize things when you work on something - i will 
> synthesize things later

Yes, later and later and later ...
Re: new neat for syntax discovered
#1480
Author: Ross Finlayson
Date: Wed, 11 Nov 2026 23:32
30 lines
3090 bytes
On 11/11/2026 01:28 PM, Bonita Montero wrote:
> Am 11.11.2026 um 21:48 schrieb Ross Finlayson:
>
>> Hard to say, we don't know when he, or, it I suppose we
>> should say generally these days since it's not just they/them
>> anymore and might just be a bot or it, we don't know whether
>> the manic/depressive whether maybe he's just a maniac.
>
> Fir is almost certainly manic a great deal of the time. This is
> evident from the frequency of his posts and the fact that he almost
> constantly replies to himself. Fir is unable to synthesize the various
> thoughts he posts piecemeal into a coherent whole, to filter out what
> is inconsequential, or to post in a considered manner. We don’t see
> the depression, but in cases of bipolar disorder, it is almost always
> present.

Oh, I get it.

I like to think that people are on many continuums not one spectrum.


Anyways then otherwise it's sort of background noise and at
least he seems like an interested learner looking to satisfy
his instinct to learn in his trippy details from the perspective
of a novice of sorts where the world seems full of opportunity
and everything is possible, youth, one may aver.

Bong hits probably, mostly, yet, not for me to say.

Re: new neat for syntax discovered
#1481
Author: Keith Thompson
Date: Thu, 12 Nov 2026 00:40
19 lines
2076 bytes
Ross Finlayson <ross.a.finlayson@gmail.com> writes:
> On 11/11/2026 11:13 AM, Bonita Montero wrote:
>> Am 11.11.2026 um 17:48 schrieb fir:
>>> its not so insane i just dont like to be bored
>>
>> You're bipolar.
>
> Hard to say,
[...]
> No offense, ....

Just a reminder to everyone that this is comp.lang.c.  It is not a
place to discuss amateur mental health diagnoses.

You don't have to reply to *everything*.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Re: new neat for syntax discovered
#1482
Author: Ross Finlayson
Date: Thu, 12 Nov 2026 01:32
47 lines
3122 bytes
On 11/11/2026 04:40 PM, Keith Thompson wrote:
> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
>> On 11/11/2026 11:13 AM, Bonita Montero wrote:
>>> Am 11.11.2026 um 17:48 schrieb fir:
>>>> its not so insane i just dont like to be bored
>>>
>>> You're bipolar.
>>
>> Hard to say,
> [...]
>> No offense, ....
>
> Just a reminder to everyone that this is comp.lang.c.  It is not a
> place to discuss amateur mental health diagnoses.
>
> You don't have to reply to *everything*.
>

My bad. I was going to mention "Duff device".

https://en.wikipedia.org/wiki/Duff%27s_device

The Wiki article mentions "MISRA guidelines", which seems nice.

https://en.wikipedia.org/wiki/MISRA_C

It also mentions co-routines, that's something I've been
trying to figure out for non-blocking co-routines "in the
language", like in C first, and in C++, in Java.

I recorded a video essay about it, "Computronomat: the re-routine,
a model of co-operative co-routine".

I've been saving my spew for over on comp.theory about
"Portable, Safe Parallel-Semantic Protocol Servers".


Then in C, basically wondering about "namespaces in C",
yeah I know there aren't any, about modular programming.


Excuse me, I might need some insensitivity training.


Now "Re: New neat 'async' syntax discovered."

Re: new neat for syntax discovered
#1484
Author: David Brown
Date: Thu, 12 Nov 2026 07:57
60 lines
3674 bytes
On 12/11/2026 02:32, Ross Finlayson wrote:
> On 11/11/2026 04:40 PM, Keith Thompson wrote:
>> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
>>> On 11/11/2026 11:13 AM, Bonita Montero wrote:
>>>> Am 11.11.2026 um 17:48 schrieb fir:
>>>>> its not so insane i just dont like to be bored
>>>>
>>>> You're bipolar.
>>>
>>> Hard to say,
>> [...]
>>> No offense, ....
>>
>> Just a reminder to everyone that this is comp.lang.c.  It is not a
>> place to discuss amateur mental health diagnoses.
>>
>> You don't have to reply to *everything*.
>>
> 
> My bad. I was going to mention "Duff device".
> 
> https://en.wikipedia.org/wiki/Duff%27s_device
> 
> The Wiki article mentions "MISRA guidelines", which seems nice.
> 
> https://en.wikipedia.org/wiki/MISRA_C
> 
> It also mentions co-routines, that's something I've been
> trying to figure out for non-blocking co-routines "in the
> language", like in C first, and in C++, in Java.
> 
> I recorded a video essay about it, "Computronomat: the re-routine,
> a model of co-operative co-routine".
> 
> I've been saving my spew for over on comp.theory about
> "Portable, Safe Parallel-Semantic Protocol Servers".
> 
> 
> Then in C, basically wondering about "namespaces in C",
> yeah I know there aren't any, about modular programming.
> 
> 
> Excuse me, I might need some insensitivity training.
> 
> 
> Now "Re: New neat 'async' syntax discovered."
> 
> 

If you want to talk about any of these C-related topics, then please 
start a new thread on them.  Mentioning a bunch of random unrelated 
topics as a follow-up in a particularly silly thread that many readers 
will have marked as "ignore thread", is not helpful.

Instead, make the posts one at a time, with one subject per thread.  And 
it would be even better if you did a little research first, such as 
looking at the current C2y/C3a namespace proposal paper n3848, or the 
current C++ co-routine support.

Re: new neat for syntax discovered
#1497
Author: Chris M. Thomasson
Date: Thu, 12 Nov 2026 21:44
8 lines
1876 bytes
On 11/11/2026 11:57 PM, David Brown wrote:
[...]such as
> looking at the current C2y/C3a namespace proposal paper n3848
^^^^

Interesting!

[...]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads