• F??C??? ? D???H of strucures and functions - in deeper c functions and

    From fir@3:633/10 to All on Mon Sep 14 17:09:02 2026
    Subject: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    the title is somewhat a joke (something liek clickbait)
    but indeed: function not exist as everething is module

    i already written on this more than once but see as you have
    such things in c

    1) structures, like s {int x,y,x;};
    2) functions like f() {printf("zie jest emo?"); }
    3) builtin simple types like int, float
    4) some.c file with codes (containing the 3 above)

    you may all thet 4 unify without one (more over yous hould)

    if you turn the some.c files like


    module some
    {
    int x,y,z;

    void f() { printf("zie jest ziemo");}
    void g() { printf("poor firkitten");}

    }


    then logical reasonig also says you should allow alos standalone code to execute here (needed for case of initialisation/instantation)

    and also arguments (needed also for initialisations)

    module some(int w, int h)
    {
    int x,y,z;

    print("\n initialising some...");

    void f() { printf("zie jest ziemo");}
    void g() { printf("poor firkitten");}

    }

    an now what

    1) module showed to be a function (with some additional properties like
    it contains functions, can be instatieted, its internal fields may be
    accesed like structure fields etc)

    2) it also showed to be a structure (as simply those int x,y,z are
    fields of a structure - but this structure get more properties (like it
    can be called and whole code may be written as it

    3) it is also a basic piece of c code (co module and c file)

    4) it also shows that simple types as int floats may be (and logiacally)
    are such modules (but with additional functionality and defined
    operators - which also shows the above should have way to define operators)


    so all this is one, you got only modules so functions in a way dot
    exitst, structures dont exist and simpel types in a way dont exist
    - they exist as edge cases of module

    i already talked on this few times but its just funny to emphasise
    vanishing of functions structures and simple types in c ;c


    what is not fully clear are for example how to treat those structure
    liek variables in modules as module is a function it usualy has local variables and also not its static fields probably should be those
    "structural" like (some satic may be maybe only 'work' one or 'internal'
    one -so if you have array of modules they not occupy a place in this
    array or are at least not accesable in that array maybe also some should
    be common to all entities i man you got N entities and you may have N
    internal ones hidden abut only one common to all this entites
    (im not sure as to usability of this but maybe there is need for some

    module foo(char* txt)
    {
    int x,y,x; <-- structural ones

    local static int m; <-- internal? (i mean foo needs this to make some calculations and it is POPULATED with instantations (This is sorta
    static ram) but its not a part of structural storage

    localint v,w; //typical local to use on stack

    type_static tq; //one for all instances?


    }


    so this 'denotations' and usage of marking such variables i not yet see clearly...

    this is also a topis such things opens a new way of usage as not if
    function have its recrds of data you may use them just to not pass
    a value

    instal foo, bar;

    foo.x = 10;

    foo("yo"); bar.x();


    where in bar for example

    bar()
    {
    void x() { printf("%d %d", foo.x, foo.y); }
    }

    no need to pass values (you may pass like to normal functions but also
    you may use internal records/structural storage..thsi is optimistaion

    (on this i many wrote as a concept of accesible statics but this appeard
    more general here)

    this may yeld specific use cases




    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 17:19:21 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    i also like the name "deep C" or "deeper c" s i would use such name also
    on ? or close thing

    by deep ci i just understen deeper logical insights in C but as ? is
    deeper c than this deeper c may be named as ? as it just funny to have
    one letter name so deeper c is like maybe more sense name and ? as
    market (?) name (?) i say market not to say i want o 'seel' that its for
    free use

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Richard Harnden@3:633/10 to All on Mon Sep 14 16:47:15 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines. Most people ignore you as is, but
    this is taking the piss.

    And "leik" is spelt "like". You know this. You keep doing it anyway.

    You are being an idiot on purpose.


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 19:28:23 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    Richard Harnden pisze:
    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines.˙ Most people ignore you as is, but
    this is taking the piss.

    And "leik" is spelt "like".˙ You know this.˙ You keep doing it anyway.

    You are being an idiot on purpose.

    i think your intelligence lewel is known fella..you should do something
    with it

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Jim Jackson@3:633/10 to All on Mon Sep 14 19:10:27 2026
    Subject: Re: F????C?????? ??? D??????H of strucures and functions - in deeper c functions and structures no longer exist

    On 2026-09-14, fir <profesor.fir@gmail.com> wrote:
    Richard Harnden pisze:
    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines.?? Most people ignore you as is, but
    this is taking the piss.

    And "leik" is spelt "like".?? You know this.?? You keep doing it anyway.

    You are being an idiot on purpose.

    i think your intelligence lewel is known fella..you should do something
    with it

    Actually he has a bit of a point. I certainly don't take you seriously
    either.


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 21:58:25 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    ˙and also arguments (needed also for initialisations)

    module some(int w, int h)
    {
    ˙int x,y,z;

    ˙print("\n initialising some...");

    ˙void f() { printf("zie jest ziemo");}
    ˙void g() { printf("poor firkitten");}

    }

    hovever after announcing 'death' of a functions

    [its kinda detah as if function dtructures modules and builtin types are
    al the same then s no need to usa that names only one for it all..

    i use module but it may be some other word btw]

    i think that people used to code in C probably would have
    best feeling how to use this as a functions (with additional properties)

    it ilustrates some things say i got module function named screen

    main.c:

    screen(640, 480); //load and initialise this screen (module/function)

    //it shows that there is a problem with TYPES - it quite seems c should
    have no types... only instances

    //types are mistake


    //by load and initalize i mean instantiate
    //as makin instance is load and initialise


    wanna 2 make 2 instances

    screen(640, 480);
    screen(800, 600);


    this shows a problem: both have the same name
    //but it dont deny the problem that types are wrong only shows
    //imo that some need two names here (and some mechanism to provide it)

    //i dont know which mechanism say some alias like

    screen(640, 480) small_scrreen;
    screen(800, 600) medium_screen;

    if you use only one you not need the name also if you use one and a
    table

    screen(640,480);

    for(int i=0; i<100;i++
    screen(rand()%200,rand()%200)[i];

    //instantiate 100 screens with random sizes
    // so in sum 101 with one above


    now may call internal functions of this function

    screen[0].clear(0xff00ff);

    may allso acces it internal variables

    screen[0].width = 20;

    it also show that thise functions/modules/structures/types
    should have opeators defined (if noo ints floats wouldnt work


    sme would need tu use int like

    int(2) a; //initialise
    int(7) b;

    a.add(b);
    a.print();


    probably stanable but not much handy so some would better provide
    way to define operators


    on int its hard to show that becouse it must reference something builtin
    ad i will not think up how to do it properly

    module int {
    _32bit_reg value; //must refer to a predefined machine-level entity

    +(int a)
    {
    _x86_add value, a
    }

    }

    so maybe show this on some Int which references builtin int and its methids assuming int has function add_assign(a) which adds a to it and has
    function add_values(a,b) which takes a and adds b but not assigns


    module Int {
    int value;

    +=(int a)
    {
    value.add_assign(a);
    }

    print ()
    {
    printf("%d", value);
    }

    +(int a)
    {
    return int x = add_values(a, value);
    }


    }

    assuming aoperators dont need dot to call

    Int(2) x;

    x+= 49;
    x.print();
    (x+4).print();

    i dont know if exactly dat but something liek dat..
    inventing good operator definitions syntax is a bit of different story

    right now its a little mess maybe..but i will see it shouldnt be that hard
















    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 22:01:53 2026
    Subject: Re: F????C?????? ??? D??????H of strucures and functions - in deeper c functions and structures no longer exist

    Jim Jackson pisze:
    On 2026-09-14, fir <profesor.fir@gmail.com> wrote:
    Richard Harnden pisze:
    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines.?? Most people ignore you as is, but
    this is taking the piss.

    And "leik" is spelt "like".?? You know this.?? You keep doing it anyway. >>>
    You are being an idiot on purpose.

    i think your intelligence lewel is known fella..you should do something
    with it

    Actually he has a bit of a point. I certainly don't take you seriously either.

    well he has more than a bit of point - sad its a point of big stupidity

    i know i write things not immediate to understand and i make typos, but
    if someone not understant spesific sentence if will ask for explanation
    i may explain some of them ;c some typos are to guess i guess


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 22:03:05 2026
    Subject: Re: F????C?????? ??? D??????H of strucures and functions - in deeper c functions and structures no longer exist

    Jim Jackson pisze:
    On 2026-09-14, fir <profesor.fir@gmail.com> wrote:
    Richard Harnden pisze:
    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines.?? Most people ignore you as is, but
    this is taking the piss.

    And "leik" is spelt "like".?? You know this.?? You keep doing it anyway. >>>
    You are being an idiot on purpose.

    i think your intelligence lewel is known fella..you should do something
    with it

    Actually he has a bit of a point. I certainly don't take you seriously either.

    also note if this bit of point you think he has is this part of
    stupidity than i dont take you seriously...and im fine with that

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 22:56:10 2026
    Subject: Re: F????C?????? ??? D??????H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    Jim Jackson pisze:
    On 2026-09-14, fir <profesor.fir@gmail.com> wrote:
    Richard Harnden pisze:
    On 14/09/2026 16:09, fir wrote:
    the title is somewhat a joke (something liek clickbait)

    Stop with the stupid subject lines.?? Most people ignore you as is, but >>>> this is taking the piss.

    And "leik" is spelt "like".?? You know this.?? You keep doing it
    anyway.

    You are being an idiot on purpose.

    i think your intelligence lewel is known fella..you should do something
    with it

    Actually he has a bit of a point. I certainly don't take you seriously
    either.

    ˙well he has more than a bit of point - sad its a point of big stupidity

    i know i write things not immediate to understand and i make typos, but
    if someone not understant spesific sentence if will ask for explanation
    i may explain some of them ;c some typos are to guess i guess

    i may try t explain it yet one time


    imagine you gat

    m


    m has a properties of
    1) function (you may call it (with arguments), inside it has c code inside)

    m(2, "sss");

    2) structure - you may "instantiate" it, pass it as structure, asign its fields, make table of it

    m[23];

    m.x = m.x*7;

    foo(m);
    foo(&m);

    3) builtin type, you may use it with operators

    m=m*m;

    4) module/piece of code you may program it/write its code
    it may contain fielsd and functions

    m(int a, char* txt)
    {
    int x,y,z;

    printf("you called m");

    void f() {}

    *(m alias_of_m)
    {
    return m.x*alias_of_m.x + m.y*alias_of_m.y + m.z*alias_of_m.z;

    }
    }

    MODULES STRUCTURES BUILTINTYPES FUNCTIONS are all teh same now
    so the program has i would say liek fractal structure

    dot knwo how to call it i call it usually module
    (ut you may also name it say midule - not to confuse with old definition
    of module a)

    now what you called structure is module, what you call module or c file builtin type is module, and strucyure is module
    is module,

    sou you open editor wih code and you only have modules (midules)
    in some sort of hiermodular (hipermidular) language..midules everywhere

    (immediate vaues like 2 also probably vcan be seen as modules
    buth with const value, so i dont exactly knwo what yet stayed which is
    no module

    some say its stupid BUT adding function properties to structures and
    vice versa ..unifying it all just increase language expresion so its
    LOGICAL consequence to have it..in such view separate function/structures/modules/builtin types is a MISTAKE

    not make this mistake and you got midules (modules) everywhere

    (yawn)


    hope its clear that i used here new name "midule" for use for a moment
    to show that all this 4 thigs unify in one new concept which not quite
    has a name (and which may i fact be seen as each of those four but
    extendad to all of them)

    its LOGICAL becouse codes wit this are better it has some real
    improvement (for example fact that what used to be a function now has
    internal storage allows to reuse its internal values not being forced to
    pass arguments each time again

    like

    squirrel(10,20); /set squirret to field 10,20 on map

    squirrel.move_rand(); reuses internal posiition to change it by +-1 in x
    and y

    //thsi maybe strictly not ilustrates the argument passing opition
    i more like menat

    print("hello"): //if "hello" was set to internal pointer you may call

    print(); //reusing last text which may be slightly faster (i assume
    print dont use stack but assigments

    print_txt = "hello";
    print();

    reusing it is faster as you dont need to do

    print_txt = "hello";
    print();
    print_txt = "hello";
    print();
    print_txt = "hello";
    print();

    but

    print_txt = "hello";
    print();
    print();
    print();


    i got no time to explain all teh details of thsi potential optimisations


    amybe more optimisations is seen in return values

    if sincos is a module

    sincos(angle);

    and it has internal properties sin, cos (as when you count sin it
    is likely to count both i think then its better to have option

    to acces them as a field of internal record


    sincos(angle);

    float y = sincos.sin;
    float x = sincos.cos;

    so those unifications resolve problems and have good impact on efficincy
    imo its not ust a syntaxical toying











    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Sep 14 23:06:28 2026
    Subject: Re: F????C?????? ??? D??????H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    so those unifications resolve problems and have good impact on efficincy
    imo its not ust a syntaxical toying


    alos it just ANSWERS HARD QUESTIONS

    for months if not years i asked myslef how to extend modules syntax
    to have wider potential usability - it showed unify it and many hard
    questions answeret itself

    (and vice versa - attempts to increse usability directed me towards this unifiation)

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Dan Purgert@3:633/10 to All on Mon Sep 14 21:44:51 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    On 2026-09-14, fir wrote:
    the title is somewhat a joke (something liek clickbait)
    but indeed: function not exist as everething is module

    i already written on this more than once but see as you have
    such things in c

    1) structures, like s {int x,y,x;};
    2) functions like f() {printf("zie jest emo?"); }
    3) builtin simple types like int, float
    4) some.c file with codes (containing the 3 above)

    you may all thet 4 unify without one (more over yous hould)

    if you turn the some.c files like


    module some
    {
    int x,y,z;

    void f() { printf("zie jest ziemo");}
    void g() { printf("poor firkitten");}

    }

    This looks to be more of C++ syntax for defining a class, rather than C.
    At least I can't find any reference to a "module" as you've written
    here.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 00:05:51 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    Dan Purgert pisze:
    On 2026-09-14, fir wrote:
    the title is somewhat a joke (something liek clickbait)
    but indeed: function not exist as everething is module

    i already written on this more than once but see as you have
    such things in c

    1) structures, like s {int x,y,x;};
    2) functions like f() {printf("zie jest emo?"); }
    3) builtin simple types like int, float
    4) some.c file with codes (containing the 3 above)

    you may all thet 4 unify without one (more over yous hould)

    if you turn the some.c files like


    module some
    {
    int x,y,z;

    void f() { printf("zie jest ziemo");}
    void g() { printf("poor firkitten");}

    }

    This looks to be more of C++ syntax for defining a class, rather than C.
    At least I can't find any reference to a "module" as you've written
    here.

    c++ made terrible shit here so i dont see any resemblance...
    besides that "putting functions into structures" is right
    (and alos "putting structures into functions"

    i call it module as it is also module i mean its more like
    "instance" than "type" - modules are more like instances

    it you take dll for example which have fields and functions
    this dll is module and thsi above may also be such dll

    in some way objects and those modules overlap...
    in fact this is more liek extended module as as i sait it may
    ne "instantiated" unlimited times and there may alos be an array
    of modules

    big diference in regard to c++ tresh those 'modules' are
    'by value' and there are no dangling pointers attached to it..
    they are used liek builtin type like for example float not by c++

    float* x = new float(2.9); //trash

    in c++ object you aso has no this 'standalone code'

    foo{

    int x, y, z; //fields

    printf("sss"); //standalone code
    printf("sss");
    printf("sss");

    void f() {} //functions
    void g() {}

    }

    typical modules (like some.c file which is compiled to some.o or
    some.dll also dont has this standalone code so this my naming 'module'
    is somewhat 'ocasional' but i dont know how to name it


    this above in a way resembles c++ object but not much (maybe most by
    this that it may have operators defined liek in c++) , also resembles c/windows module (some.c/some.o/some.dll) but also not fully, so its a
    bit hat a bit that and a bit something else

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 00:14:29 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    Dan Purgert pisze:
    On 2026-09-14, fir wrote:
    the title is somewhat a joke (something liek clickbait)
    ˙˙ but indeed: function not exist as everething is module

    i already written on this more than once but see as you have
    such things in c

    1) structures, like s {int x,y,x;};
    2) functions like f() {printf("zie jest emo?"); }
    3) builtin simple types like int, float
    4) some.c file with codes (containing the 3 above)

    you may all thet 4 unify without one (more over yous hould)

    if you turn the some.c files like


    module some
    {
    ˙˙ int x,y,z;

    ˙˙ void f() { printf("zie jest ziemo");}
    ˙˙ void g() { printf("poor firkitten");}

    }

    This looks to be more of C++ syntax for defining a class, rather than C.
    At least I can't find any reference to a "module" as you've written
    here.

    c++ made terrible shit here so i dont see any resemblance...
    besides that "putting functions into structures" is right
    (and alos "putting structures into functions"

    i call it module as it is also module i mean its more like
    "instance" than "type" - modules are more like instances

    it you take dll for example which have fields and functions
    this dll is module and thsi above may also be such dll

    in some way objects and those modules overlap...
    in fact this is more liek extended module as as i sait it may
    ne "instantiated" unlimited times and there may alos be an array
    of modules

    big diference in regard to c++ tresh those 'modules' are
    'by value' and there are no dangling pointers attached to it..
    they are used liek builtin type like for example float not by c++

    float* x = new float(2.9); //trash

    in c++ object you aso has no this 'standalone code'

    foo{

    ˙˙ int x, y, z; //fields

    ˙ printf("sss"); //standalone code
    ˙ printf("sss");
    ˙ printf("sss");

    ˙ void f() {}˙ //functions
    ˙ void g() {}


    +() {} //yet operators
    -() {}
    }


    some could say that fields (thet can be ssigned, used n place) make it structure, standalone code makes it function, contained definitions
    make it code module, operator definition make it liek builtin tyes

    but thats simplification


    typical modules (like some.c file which is compiled to some.o or
    some.dll also dont has this standalone code so this my naming 'module'
    is somewhat 'ocasional' but i dont know how to name it


    this above in a way resembles c++ object but not much (maybe most by
    this that it may have operators defined liek in c++) , also resembles c/windows module (some.c/some.o/some.dll) but also not fully, so its a
    bit hat a bit that and a bit something else


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 00:22:04 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    foo{

    ˙˙˙ int x, y, z; //fields

    ˙˙ printf("sss"); //standalone code
    ˙˙ printf("sss");
    ˙˙ printf("sss");

    ˙˙ void f() {}˙ //functions
    ˙˙ void g() {}


    ˙˙˙˙˙ +() {}˙˙ //yet operators
    ˙˙˙˙˙ -() {}
    as to this operators maybe simplest syntax would suffice

    foo + foo {}
    foo - foo {}
    + foo {}
    - foo {}


    }



    somemay previust examples could ba a bit misleading as if too contains function f the f is rather free i mean if some iwll initalize

    screen(600,400);

    and screen has function clear()


    clear(0xffff); probably can be used with no screeen.clear(0xffff)
    obliged though it may be probably used more like screen clear() if there
    is bneed to specify which module clear it is

    so operators are also free i guess

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 00:29:06 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    ˙ +() {}˙˙ //yet operators
    ˙˙˙˙˙ -() {}
    }

    funny to define

    foo{

    + {play_sound("bip.way");}
    - {play_sound("bop.way");}

    }





    main.c

    foo;

    +-+---+-+--+--+; //play sounds

    i think it should work probably if no operators for -- +- --- and so on defined



    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 00:36:47 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    fir pisze:
    ˙˙ +() {}˙˙ //yet operators
    ˙˙˙˙˙˙ -() {}
    }

    funny to define

    foo{

    ˙˙ + {play_sound("bip.way");}
    ˙˙ - {play_sound("bop.way");}

    }





    main.c

    ˙foo;

    ˙+-+---+-+--+--+;˙ //play sounds

    i think it should work probably if no operators for -- +- --- and so on defined




    this also opens a space for local definitions of functions and operators
    thus maybe make codes shorter

    as if foo defines one set of functions and pointers bar another set then

    foo; //wider scope

    f()
    {
    foo; //limited scope

    +++--+-+-+;

    }

    b()
    {
    bar;

    +-+-+-+---; //other meaning (definitons from bar)


    }

    it could make codes more local saving the polution

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Tue Sep 15 16:05:20 2026
    Subject: Re: F??C??? ? D???H of strucures and functions - in deeper c functions and structures no longer exist

    fir pisze:
    fir pisze:
    fir pisze:
    ˙˙ +() {}˙˙ //yet operators
    ˙˙˙˙˙˙ -() {}
    }

    funny to define

    foo{

    ˙˙˙ + {play_sound("bip.way");}
    ˙˙˙ - {play_sound("bop.way");}

    }





    main.c

    ˙˙foo;

    ˙˙+-+---+-+--+--+;˙ //play sounds

    i think it should work probably if no operators for -- +- --- and so
    on defined




    this also opens a space for local definitions of functions and operators thus maybe make codes shorter

    as if foo defines one set of functions and pointers bar another set then

    foo; //wider scope

    f()
    {
    ˙ foo; //limited scope

    ˙ +++--+-+-+;

    }

    b()
    {
    ˙ bar;

    ˙ +-+-+-+---; //other meaning (definitons from bar)


    }

    it could make codes more local saving the polution


    wondering a bit how this operator definitions should
    work..something like that below but im not fully sure

    def foo(int a)
    {
    int value = a;

    def foo a + int b {return a.value + b}
    def += int b {value+=b; return foo}

    def f(int b) {value+=b}

    }

    foo(0)

    f(2)

    +=3
    foo+4


    there is also a question if there is

    foo
    {
    int x,y;
    }

    and
    bar
    {
    int a,b;

    }

    whould those strustures be hardly typed or it should just
    allow assigments on the fly

    C chose a way to be hardly typed and this may be wrong
    in many cases


    overally the fact that structure can have contained functions is nice
    also form structure pint of view becouse


    def boo
    {
    int x,y,z;
    def f() {return x,y;}
    }

    function may haold N values buts its functions return some
    of them making things nicer and resolving some problems

    more to say such structure could for example return 2 values in other
    case 3 and so on


    def foo()
    {
    int x,y,z;
    if*rand()%2) return x,y,z; else return x,y;
    }

    it would to be handled on the user side though

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)