• new neat for syntax discovered

    From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 14:40:28 2026
    From Newsgroup: comp.lang.c

    "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












    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 14:48:52 2026
    From Newsgroup: comp.lang.c

    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

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 14:56:26 2026
    From Newsgroup: comp.lang.c

    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

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 21:08:39 2026
    From Newsgroup: comp.lang.c

    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];







    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 21:13:59 2026
    From Newsgroup: comp.lang.c

    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-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];

    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

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 21:26:32 2026
    From Newsgroup: comp.lang.c

    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





    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 21:34:36 2026
    From Newsgroup: comp.lang.c

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






    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 21:48:54 2026
    From Newsgroup: comp.lang.c

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



    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







    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Tue Nov 10 23:37:43 2026
    From Newsgroup: comp.lang.c

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


    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

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 16:06:50 2026
    From Newsgroup: comp.lang.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)


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 16:28:11 2026
    From Newsgroup: comp.lang.c

    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?


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 16:45:48 2026
    From Newsgroup: comp.lang.c

    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?



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bonita Montero@Bonita.Montero@gmail.com to comp.lang.c on Wed Nov 11 17:09:44 2026
    From Newsgroup: comp.lang.c

    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.



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 17:19:02 2026
    From Newsgroup: comp.lang.c

    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

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bonita Montero@Bonita.Montero@gmail.com to comp.lang.c on Wed Nov 11 17:46:58 2026
    From Newsgroup: comp.lang.c

    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.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 17:48:54 2026
    From Newsgroup: comp.lang.c

    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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From bartc@bc@freeuk.com to comp.lang.c on Wed Nov 11 18:09:18 2026
    From Newsgroup: comp.lang.c

    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++)
    -a 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.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bonita Montero@Bonita.Montero@gmail.com to comp.lang.c on Wed Nov 11 20:13:31 2026
    From Newsgroup: comp.lang.c

    Am 11.11.2026 um 17:48 schrieb fir:

    its not so insane i just dont like to be bored

    You're bipolar.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to comp.lang.c on Wed Nov 11 12:45:33 2026
    From Newsgroup: comp.lang.c

    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.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to comp.lang.c on Wed Nov 11 12:48:03 2026
    From Newsgroup: comp.lang.c

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


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 21:48:56 2026
    From Newsgroup: comp.lang.c

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


    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.



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 22:02:21 2026
    From Newsgroup: comp.lang.c

    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)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 22:06:19 2026
    From Newsgroup: comp.lang.c

    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)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bonita Montero@Bonita.Montero@gmail.com to comp.lang.c on Wed Nov 11 22:28:54 2026
    From Newsgroup: comp.lang.c

    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.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 22:30:50 2026
    From Newsgroup: comp.lang.c

    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




    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 22:32:57 2026
    From Newsgroup: comp.lang.c

    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 donrCOt 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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 22:47:22 2026
    From Newsgroup: comp.lang.c

    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



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.c on Wed Nov 11 22:05:49 2026
    From Newsgroup: comp.lang.c

    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]
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 23:13:07 2026
    From Newsgroup: comp.lang.c

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


    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


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 23:28:59 2026
    From Newsgroup: comp.lang.c

    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:

    >>> ['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]


    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




    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Wed Nov 11 23:35:53 2026
    From Newsgroup: comp.lang.c

    fir pisze:
    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





    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}
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bonita Montero@Bonita.Montero@gmail.com to comp.lang.c on Wed Nov 11 23:45:47 2026
    From Newsgroup: comp.lang.c

    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 ...
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to comp.lang.c on Wed Nov 11 15:32:11 2026
    From Newsgroup: comp.lang.c

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


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Keith Thompson@Keith.S.Thompson+u@gmail.com to comp.lang.c on Wed Nov 11 16:40:44 2026
    From Newsgroup: comp.lang.c

    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 */
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to comp.lang.c on Wed Nov 11 17:32:12 2026
    From Newsgroup: comp.lang.c

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


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From David Brown@david.brown@hesbynett.no to comp.lang.c on Thu Nov 12 08:57:08 2026
    From Newsgroup: comp.lang.c

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



    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.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c on Thu Nov 12 13:44:34 2026
    From Newsgroup: comp.lang.c

    On 11/11/2026 11:57 PM, David Brown wrote:
    [...]such as
    looking at the current C2y/C3a namespace proposal paper n3848
    ^^^^

    Interesting!

    [...]
    --- Synchronet 3.22a-Linux NewsLink 1.2