int i = width;
int j = height;
^ j ^ i {tab[j][i]=0;}
txt[^T]= ^S; //eventually ^i=6 {txt[T[i]] = S[i]}
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-a {}
^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-a 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];
for example
int count = 5;
tab[^count]=tab[^count+1];
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-a 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
-a^count = min(a_max, b_max)-a-a {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..
^a = ^b
can do the work
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-a 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
-a-a^count = min(a_max, b_max)-a-a {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
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-a {}
^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
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.
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)
fir pisze:
Bonita Montero pisze:watching it tis way opens new ways of seing it somewhat coz if ' is a
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)
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?
some may notice it may be allso called "for operator"
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.
it allows you to vrite more complex array-iteration-based codesFor me this code isn't expressive enough.
in one line
Am 11.11.2026 um 17:19 schrieb fir:
it allows you to vrite more complex array-iteration-based codesFor me this code isn't expressive enough.
in one line
And your posting frequency is abolutely insane.
Bonita Montero pisze:
Am 11.11.2026 um 16:06 schrieb fir:operator is much more powerful - its sole sign ' instead of
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.
for(int i=0; i<tab_max; i++)
-a tab[i];
vs
'tab
it allows you to vrite more complex array-iteration-based codes
in one line
its not so insane i just dont like to be bored
"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
Am 11.11.2026 um 17:48 schrieb fir:
its not so insane i just dont like to be bored
You're bipolar.
On 11/11/2026 16:19, fir wrote:
Bonita Montero pisze:
Am 11.11.2026 um 16:06 schrieb fir:operator is much more powerful - its sole sign ' instead of
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.
for(int i=0; i<tab_max; i++)
-a-a tab[i];
vs
'tab
This is even shorter:
-a 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.
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.
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.
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)
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 donrCOt see
the depression, but in cases of bipolar disorder, it is almost always present.
for example
'a='b; foo();
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,
....
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)
-aand 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
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 rCLlist comprehensionsrCY:
>>> list(i * i for i in range(10))
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
Lawrence DrCOOliveiro 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:
-a-a-a-a >>> ['hi'] * 3
-a-a-a-a ['hi', 'hi', 'hi']
-a-a-a-a >>> 'hi' * 3
-a-a-a-a 'hihihi'
-a-a-a-a >>> ['hi', 'there'] * 3
-a-a-a-a ['hi', 'there', 'hi', 'there', 'hi', 'there']
Or how about rCLlist comprehensionsrCY:
-a-a-a-a >>> list(i * i for i in range(10))
-a-a-a-a [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-a // inner streams
streams look stupid here maybe and im not sure if it means something
wrong with them or just-a it shows its better write
{i='10; i*i;}
maybe this external/outside form is better? those yet are details to establish or fix
you dont synthesize things when you work on something - i will
synthesize things later
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 donrCOt see
the depression, but in cases of bipolar disorder, it is almost always present.
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, ....
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*.
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.-a 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."
looking at the current C2y/C3a namespace proposal paper n3848^^^^
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 56:27:22 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,806 |