Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

<chesty> xemacs fixed my flatulence -- From the "XEmacs: Not just an editor" department


devel / comp.lang.c / Re: thoughts on digger /pieces digger

SubjectAuthor
* thoughts on digger /pieces diggerfir
`* Re: thoughts on digger /pieces diggerfir
 `* Re: thoughts on digger /pieces diggerfir
  `* Re: thoughts on digger /pieces diggerfir
   +- Re: thoughts on digger /pieces diggerfir
   `* Re: thoughts on digger /pieces diggerfir
    `* Re: thoughts on digger /pieces diggerfir
     `* Re: thoughts on digger /pieces diggerfir
      `* Re: thoughts on digger /pieces diggerfir
       `* Re: thoughts on digger /pieces diggerfir
        `- Re: thoughts on digger /pieces diggerfir

1
thoughts on digger /pieces digger

<7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21576&group=comp.lang.c#21576

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:2552:b0:67b:32e2:2400 with SMTP id s18-20020a05620a255200b0067b32e22400mr5444916qko.768.1651412713393;
Sun, 01 May 2022 06:45:13 -0700 (PDT)
X-Received: by 2002:a05:620a:f0d:b0:67e:1c14:bc5e with SMTP id
v13-20020a05620a0f0d00b0067e1c14bc5emr5611752qkl.502.1651412713267; Sun, 01
May 2022 06:45:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 06:45:13 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.154; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.154
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
Subject: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 13:45:13 +0000
Content-Type: text/plain; charset="UTF-8"
 by: fir - Sun, 1 May 2022 13:45 UTC

i reserve this thread to share some thoughts on pieces digger
(normally i called it expresion digger but im not sure if some
things like 1 or loop header may be named expressions, so in title i name
it maybe a pieces digger, though probably naming it expression digger
is ok)

need to reast a bit though until write something about this

Re: thoughts on digger /pieces digger

<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21577&group=comp.lang.c#21577

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:300d:b0:459:2bb:6d14 with SMTP id ke13-20020a056214300d00b0045902bb6d14mr6556669qvb.71.1651415931175;
Sun, 01 May 2022 07:38:51 -0700 (PDT)
X-Received: by 2002:a05:620a:1a17:b0:69c:669c:1032 with SMTP id
bk23-20020a05620a1a1700b0069c669c1032mr5736710qkb.377.1651415931033; Sun, 01
May 2022 07:38:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 07:38:50 -0700 (PDT)
In-Reply-To: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.91; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.91
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 14:38:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: fir - Sun, 1 May 2022 14:38 UTC

niedziela, 1 maja 2022 o 15:45:21 UTC+2 fir napisał(a):
> i reserve this thread to share some thoughts on pieces digger
> (normally i called it expresion digger but im not sure if some
> things like 1 or loop header may be named expressions, so in title i name
> it maybe a pieces digger, though probably naming it expression digger
> is ok)
>
> need to reast a bit though until write something about this

one thing i can say is that using this while pattern, i mean for
example iterating on on atoms which are function all arguments
finding first argument/expression sonsuming it (it is compiling and flushing
asm) going to another untic end reached is bad

maybe not strictly bad as it may have some specifics which in certain situation may be sin
advantage but its just specifically troublesome (not much of advantage comes to my mind withought thinking on that, though..,though it uses possibly a tiny less ram, buts its a tiny less ram)

this is quite banal remark but from i dont know what reasons i went this while way
with the code i run and tested...definitely need to repair that..

question is what subchunks to generate and if to tag them..the answer seems not to hard though,
tagging is not necessary so i will skip it i guess (may tag later) and what to collect i think i go like in atomizer physical way

Re: thoughts on digger /pieces digger

<8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21578&group=comp.lang.c#21578

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:1182:b0:2f1:fefa:f1c4 with SMTP id m2-20020a05622a118200b002f1fefaf1c4mr7272137qtk.365.1651425501957;
Sun, 01 May 2022 10:18:21 -0700 (PDT)
X-Received: by 2002:ac8:7d4c:0:b0:2f3:9ba4:c68 with SMTP id
h12-20020ac87d4c000000b002f39ba40c68mr7037557qtb.525.1651425501822; Sun, 01
May 2022 10:18:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 10:18:21 -0700 (PDT)
In-Reply-To: <abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.236; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.236
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com> <abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 17:18:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 51
 by: fir - Sun, 1 May 2022 17:18 UTC

niedziela, 1 maja 2022 o 16:38:58 UTC+2 fir napisał(a):
> niedziela, 1 maja 2022 o 15:45:21 UTC+2 fir napisał(a):
> > i reserve this thread to share some thoughts on pieces digger
> > (normally i called it expresion digger but im not sure if some
> > things like 1 or loop header may be named expressions, so in title i name
> > it maybe a pieces digger, though probably naming it expression digger
> > is ok)
> >
> > need to reast a bit though until write something about this
> one thing i can say is that using this while pattern, i mean for
> example iterating on on atoms which are function all arguments
> finding first argument/expression sonsuming it (it is compiling and flushing
> asm) going to another untic end reached is bad
>
> maybe not strictly bad as it may have some specifics which in certain situation may be sin
> advantage but its just specifically troublesome (not much of advantage comes to my mind withought thinking on that, though..,though it uses possibly a tiny less ram, buts its a tiny less ram)
>
> this is quite banal remark but from i dont know what reasons i went this while way
> with the code i run and tested...definitely need to repair that..
>
> question is what subchunks to generate and if to tag them..the answer seems not to hard though,
> tagging is not necessary so i will skip it i guess (may tag later) and what to collect i think i go like in atomizer physical way

what complicates things i want to dig lines with as many commas ommited as its possible
right now i use commas just to split on logical lines thus spliter almost works like digger...
almost but not fully becouse i dont wanted to split arguments in functions so this make long
logical lines containing just one function call with 10 expressions each ine as argument

maybe it would be in fact easier to break on arguments? but if so i would need to
put some breaking sign among arguments (and i want have option to put no one, though in fact | looks good foo1|2|2|a )or make splitter complex which is no option

those are as it seen not only digger problems but some design problems mixed

i will assume no breaks on argiments right now and also option to remove as many commas as i can get in normal lines

Re: thoughts on digger /pieces digger

<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21579&group=comp.lang.c#21579

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:45a6:b0:69f:cf92:f5dd with SMTP id bp38-20020a05620a45a600b0069fcf92f5ddmr3071138qkb.179.1651426448995;
Sun, 01 May 2022 10:34:08 -0700 (PDT)
X-Received: by 2002:a05:6214:212c:b0:443:cacc:ee8 with SMTP id
r12-20020a056214212c00b00443cacc0ee8mr6911446qvc.96.1651426448692; Sun, 01
May 2022 10:34:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 10:34:08 -0700 (PDT)
In-Reply-To: <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.0; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.0
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 17:34:08 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: fir - Sun, 1 May 2022 17:34 UTC

i need for example to dig such lines

int a int b int c int d /// define variables
int a int b int c foo int e int f ///define function (taking 2 returns 3 ints)
a b c d e f //call variables
a*b+5 d-3*h doo*(a-b) ///expressions
a b c = foo b*h i/j+3 33 //function calls

and mixes of them, at least those mixes that dont need commas to separate them
if i would use comma teh come breaks on log line so commas cant exist in line

Re: thoughts on digger /pieces digger

<a5b65b70-fbfb-4756-9bcc-73353b5d1196n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21580&group=comp.lang.c#21580

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:20ac:b0:458:102e:1184 with SMTP id 12-20020a05621420ac00b00458102e1184mr6777788qvd.61.1651428715034;
Sun, 01 May 2022 11:11:55 -0700 (PDT)
X-Received: by 2002:a37:62d1:0:b0:69f:85e0:9b7a with SMTP id
w200-20020a3762d1000000b0069f85e09b7amr6307018qkb.100.1651428714873; Sun, 01
May 2022 11:11:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 11:11:54 -0700 (PDT)
In-Reply-To: <718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.0; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.0
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a5b65b70-fbfb-4756-9bcc-73353b5d1196n@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 18:11:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 39
 by: fir - Sun, 1 May 2022 18:11 UTC

niedziela, 1 maja 2022 o 19:34:17 UTC+2 fir napisał(a):
> i need for example to dig such lines
>
> int a int b int c int d /// define variables
> int a int b int c foo int e int f ///define function (taking 2 returns 3 ints)
> a b c d e f //call variables
> a*b+5 d-3*h doo*(a-b) ///expressions
> a b c = foo b*h i/j+3 33 //function calls
>
> and mixes of them, at least those mixes that dont need commas to separate them
> if i would use comma teh come breaks on log line so commas cant exist in line

i think reasonable assumption would be that in fnction definition i do not add nothing more
there as it not mixes well
in rest of the lines i may assume that int definition is something to begins with "int"

as i di pre pass scan i know what is variable and what is a function so by this knowledgei may dig variable particules and function calls...hovever stricltly digger dont dig function calls, it dig particules (this is expressions, containing only variables i do not ad function calls in expression as for now) and definitions, freestanding or as arguments hus in such

1 2 int y a b*c int x=2 d++ dgged things should be "1" "2" "int y" "a" "b*c" "int x=2" "d++"
and in
x y = foo "zzz" 2+b c/s-2 1 1 1 probably "x" "y" "= foo" ""zzz"" "2+b" "c/s-2" "1" "1" "1"

some of them are freestanding but say "x" "y" "= foo" ""zzz"" "2+b" "c/s-2" five are arguments

i dont see it yet totally clear but i thibk i just need tow rite test digger and run it on strings from hand

Re: thoughts on digger /pieces digger

<2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21581&group=comp.lang.c#21581

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:10b2:b0:69f:9e8d:33eb with SMTP id h18-20020a05620a10b200b0069f9e8d33ebmr6341921qkk.111.1651431127263;
Sun, 01 May 2022 11:52:07 -0700 (PDT)
X-Received: by 2002:a05:6214:19cd:b0:456:52d2:3bb7 with SMTP id
j13-20020a05621419cd00b0045652d23bb7mr7204300qvc.115.1651431127138; Sun, 01
May 2022 11:52:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 11:52:06 -0700 (PDT)
In-Reply-To: <718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.184; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.184
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 18:52:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 43
 by: fir - Sun, 1 May 2022 18:52 UTC

niedziela, 1 maja 2022 o 19:34:17 UTC+2 fir napisał(a):
> i need for example to dig such lines
>
> int a int b int c int d /// define variables
> int a int b int c foo int e int f ///define function (taking 2 returns 3 ints)
> a b c d e f //call variables
> a*b+5 d-3*h doo*(a-b) ///expressions
> a b c = foo b*h i/j+3 33 //function calls
>
> and mixes of them, at least those mixes that dont need commas to separate them
> if i would use comma teh come breaks on log line so commas cant exist in line

digger role is generally to provide pices that are able to be microcompiled end
everything is plain except this function call
becouse normally freestandiung pieces are sequential and plain but when met something lik

int x int y = foo a*b c/d

it goes in fact reversed "push c/d" "push a*b" "call foo" "mov y, something" "mov x, something"
and stimm il not sure what to do with that ..well maybe nothing only give a list

on upper level propbably i can loop thru line pices and mark x y as retvalues foo as function a*b c/d as an arguments, microcompiler then should probbably compile freestanding on left then go to arguments generate call and assign retvalues

still it dont feel in my head like it would pack very well but dont seen something better (more worse i got this things already written but in my case i only call this digger on arguments and freestanding expresions ale always broken..here when iu find simplifications it doesnt feel like simplificated but probably it depend on how to write this piccces digger.. i shpould probably remember its a very simple piece of code doing one loop thru array from begin to end and only putting logical commas so the fact it is so distracted/separated should simplify things though it seems a mes at the moment ...with atomizer i also felt like strong feeling of deep mess but all in all it simplifies a lot

Re: thoughts on digger /pieces digger

<0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21582&group=comp.lang.c#21582

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:2552:b0:67b:32e2:2400 with SMTP id s18-20020a05620a255200b0067b32e22400mr6264840qko.768.1651433222127;
Sun, 01 May 2022 12:27:02 -0700 (PDT)
X-Received: by 2002:a05:620a:99a:b0:69f:8204:d8de with SMTP id
x26-20020a05620a099a00b0069f8204d8demr6487983qkx.58.1651433221970; Sun, 01
May 2022 12:27:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 1 May 2022 12:27:01 -0700 (PDT)
In-Reply-To: <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.184; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.184
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com> <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 01 May 2022 19:27:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 47
 by: fir - Sun, 1 May 2022 19:27 UTC

niedziela, 1 maja 2022 o 20:52:14 UTC+2 fir napisał(a):
> niedziela, 1 maja 2022 o 19:34:17 UTC+2 fir napisał(a):
> > i need for example to dig such lines
> >
> > int a int b int c int d /// define variables
> > int a int b int c foo int e int f ///define function (taking 2 returns 3 ints)
> > a b c d e f //call variables
> > a*b+5 d-3*h doo*(a-b) ///expressions
> > a b c = foo b*h i/j+3 33 //function calls
> >
> > and mixes of them, at least those mixes that dont need commas to separate them
> > if i would use comma teh come breaks on log line so commas cant exist in line
> digger role is generally to provide pices that are able to be microcompiled end
> everything is plain except this function call
> becouse normally freestandiung pieces are sequential and plain but when met something lik
>
> int x int y = foo a*b c/d
>
> it goes in fact reversed "push c/d" "push a*b" "call foo" "mov y, something" "mov x, something"
> and stimm il not sure what to do with that ..well maybe nothing only give a list
>
> on upper level propbably i can loop thru line pices and mark x y as retvalues foo as function a*b c/d as an arguments, microcompiler then should probbably compile freestanding on left then go to arguments generate call and assign retvalues
>
> still it dont feel in my head like it would pack very well but dont seen something better (more worse i got this things already written but in my case i only call this digger on arguments and freestanding expresions ale always broken..here when iu find simplifications it doesnt feel like simplificated but probably it depend on how to write this piccces digger.. i shpould probably remember its a very simple piece of code doing one loop thru array from begin to end and only putting logical commas so the fact it is so distracted/separated should simplify things though it seems a mes at the moment ...with atomizer i also felt like strong feeling of deep mess but all in all it simplifies a lot

in fact maybe its better to go rigorous on a function call and assume each one is in separate log line, same ad fun-deff..its quite different than those freestanding values which are just vectors..maybe i will limit that diggers dig only vectors

Re: thoughts on digger /pieces digger

<c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21585&group=comp.lang.c#21585

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a0c:f10b:0:b0:458:4209:f79 with SMTP id i11-20020a0cf10b000000b0045842090f79mr8909613qvl.61.1651491624838;
Mon, 02 May 2022 04:40:24 -0700 (PDT)
X-Received: by 2002:a05:622a:13cf:b0:2f3:87f2:f26a with SMTP id
p15-20020a05622a13cf00b002f387f2f26amr9918006qtk.194.1651491624677; Mon, 02
May 2022 04:40:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 2 May 2022 04:40:24 -0700 (PDT)
In-Reply-To: <0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.189; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.189
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com> <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
<0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 02 May 2022 11:40:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 76
 by: fir - Mon, 2 May 2022 11:40 UTC

niedziela, 1 maja 2022 o 21:27:09 UTC+2 fir napisał(a):
> niedziela, 1 maja 2022 o 20:52:14 UTC+2 fir napisał(a):
> > niedziela, 1 maja 2022 o 19:34:17 UTC+2 fir napisał(a):
> > > i need for example to dig such lines
> > >
> > > int a int b int c int d /// define variables
> > > int a int b int c foo int e int f ///define function (taking 2 returns 3 ints)
> > > a b c d e f //call variables
> > > a*b+5 d-3*h doo*(a-b) ///expressions
> > > a b c = foo b*h i/j+3 33 //function calls
> > >
> > > and mixes of them, at least those mixes that dont need commas to separate them
> > > if i would use comma teh come breaks on log line so commas cant exist in line
> > digger role is generally to provide pices that are able to be microcompiled end
> > everything is plain except this function call
> > becouse normally freestandiung pieces are sequential and plain but when met something lik
> >
> > int x int y = foo a*b c/d
> >
> > it goes in fact reversed "push c/d" "push a*b" "call foo" "mov y, something" "mov x, something"
> > and stimm il not sure what to do with that ..well maybe nothing only give a list
> >
> > on upper level propbably i can loop thru line pices and mark x y as retvalues foo as function a*b c/d as an arguments, microcompiler then should probbably compile freestanding on left then go to arguments generate call and assign retvalues
> >
> > still it dont feel in my head like it would pack very well but dont seen something better (more worse i got this things already written but in my case i only call this digger on arguments and freestanding expresions ale always broken..here when iu find simplifications it doesnt feel like simplificated but probably it depend on how to write this piccces digger.. i shpould probably remember its a very simple piece of code doing one loop thru array from begin to end and only putting logical commas so the fact it is so distracted/separated should simplify things though it seems a mes at the moment ...with atomizer i also felt like strong feeling of deep mess but all in all it simplifies a lot
> in fact maybe its better to go rigorous on a function call and assume each one is in separate log line, same ad fun-deff..its quite different than those freestanding values which are just vectors..maybe i will limit that diggers dig only vectors

overeally it shows i got not it wel concepotualized still

group of atoms (like a+b/d) i could name particles, and this expression digger could be then also names particles digger , particles grouper, particles collector and so on

i thinked it would be well to strightly go from atomizes to particles grouper than put particles into microcompiler and voila.. but it seem not worked this well, im not sure..

for example i couldnt put all code in one line without no separator at all (and when i say separator i mean division on log line, coz for simplicity i would do things that way, separator divides on logical line)

if no (and i must break on loglines) then it seems after atomizer and before potential particles digger i need to put some kind of switcher that would microcompile short loglines strightly and use digger only on vector-type loglines (and im not much happy with this becouse splitter->atomizer-(>switcher->digger->microcompiler)(->switcher->microcompiler) is less clean that splitter->atomizer->sigger->microcompiler

yet there is a ting you got two clases of particles, one are thoise who yeild value and can be for example set as an arguments for a function like foo(a) and other whoi are not like foo(return); (both a and return
are particles...so im still confuzed

(sorry if someone see my post on this as a stream of mess, its tru, but from this mess there somtimes rise some output)

Re: thoughts on digger /pieces digger

<725cf5f7-b31b-4686-a56f-0f53406cd4efn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21589&group=comp.lang.c#21589

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:4104:b0:42c:1db0:da28 with SMTP id kc4-20020a056214410400b0042c1db0da28mr12833597qvb.67.1651568636464;
Tue, 03 May 2022 02:03:56 -0700 (PDT)
X-Received: by 2002:ac8:7d4c:0:b0:2f3:9ba4:c68 with SMTP id
h12-20020ac87d4c000000b002f39ba40c68mr13375902qtb.525.1651568636248; Tue, 03
May 2022 02:03:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 3 May 2022 02:03:56 -0700 (PDT)
In-Reply-To: <c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.234; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.234
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com> <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
<0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com> <c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <725cf5f7-b31b-4686-a56f-0f53406cd4efn@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Tue, 03 May 2022 09:03:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: fir - Tue, 3 May 2022 09:03 UTC

poniedziałek, 2 maja 2022 o 13:40:32 UTC+2 fir napisał(a):
>
> (sorry if someone see my post on this as a stream of mess, its tru, but from this mess there somtimes rise some output)

at the moment i decided to go this way: after atomizer i run kinda switch on loglines and
detect and microcompile 1 loop header 2 if header 3 4 loop/if end 5 fuunction def 6 function call
the rest i assume is a vector of expressions which i may dig an they dont need separator
(though i yet not write this digger fully, i only dig function args)

right now i reached the moment when im slowed, its hard to concentrate (mostly becouse i drink coffeine in various times and types and get sleepy and 'pumped down' (if its right english phrase, i dont know))

right now i obtained a moment i could add operators of type

a = x <or> b
d = 3 <average> 9

and things like that, it would rest some punctuation marks on my keybord like |%&^ for much better
use
if i would feel more energetic i would code it today, but in that sleepy and poisoned state i will probably need to rest

Re: thoughts on digger /pieces digger

<7cf81f96-9ddd-4826-88bd-42db74c863e9n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21613&group=comp.lang.c#21613

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:989:b0:69f:c506:2ac1 with SMTP id x9-20020a05620a098900b0069fc5062ac1mr15677390qkx.645.1651694891178;
Wed, 04 May 2022 13:08:11 -0700 (PDT)
X-Received: by 2002:a05:6214:1d09:b0:45a:b9bc:e125 with SMTP id
e9-20020a0562141d0900b0045ab9bce125mr2818355qvd.115.1651694890953; Wed, 04
May 2022 13:08:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 4 May 2022 13:08:10 -0700 (PDT)
In-Reply-To: <725cf5f7-b31b-4686-a56f-0f53406cd4efn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.255; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.255
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com> <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
<0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com> <c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>
<725cf5f7-b31b-4686-a56f-0f53406cd4efn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7cf81f96-9ddd-4826-88bd-42db74c863e9n@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 04 May 2022 20:08:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: fir - Wed, 4 May 2022 20:08 UTC

i may add that being inside the machine feels other than i thought eventually thinking back then
how code of compiler looks inside...possibly i thinked the code is more homogeneus and right now it dont feel that way
as i said got splitter atomizer then i got switcher which sift out mainly if for and function definitions (i was not realized back tehen but function definition seems close to if and for in that respect)
then what stays is either a function call (the biggest beast) or a value particle ..value particle is either simple or complex (and if its simple is either just value, simpel assign, simple definition or definition with assign..not sure if yet something) and im not quite happy i sift out those simple in switcher then i call
what i call reducer on the complex ones - which reduces and emits them .. (if those value particles are in form of vector i yet before may dig them, same i must dig function call arguments) ..overaly this is quite not homeogeneus beast this compiler machine.. its not complex though (i also feel i should repair something yet possibly this switcher on short particles and that digger code (which i have only half written and use only for atguments)..(switcher is half good, reducer is good (though need some change), atomizer, splitter are good, after reducer i have neat emiter (for buildin operators) its also good) ..its not complex becouse each ot this elements mentioned its just one file (page ) of code (and files of code are up to 1k lines in my case, typically like 400 or even 200, maybe some sets of codes that do soem enumerated things are larger)

i still skipped many things hovever, i have totally minimal (near zero) support for arrays and doubles, no
structures.. possibly i should add 'em and also need to think how ebentually reshape this inner parts (mainly this switcher) to be more clear/clearer

Re: thoughts on digger /pieces digger

<2c283824-d8ea-4970-8c47-450c430500a2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21614&group=comp.lang.c#21614

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:625:b0:441:1578:620b with SMTP id a5-20020a056214062500b004411578620bmr18965964qvx.126.1651695496766;
Wed, 04 May 2022 13:18:16 -0700 (PDT)
X-Received: by 2002:a05:620a:99a:b0:69f:8204:d8de with SMTP id
x26-20020a05620a099a00b0069f8204d8demr17199689qkx.58.1651695496520; Wed, 04
May 2022 13:18:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 4 May 2022 13:18:16 -0700 (PDT)
In-Reply-To: <7cf81f96-9ddd-4826-88bd-42db74c863e9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.255; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.255
References: <7acd230e-7b6f-4e13-90a5-fa4aee7f55d7n@googlegroups.com>
<abfa14c0-d05f-414d-a5ef-760e1c9a4f5cn@googlegroups.com> <8b061c1d-58dd-47b0-8b16-d4d670b265f6n@googlegroups.com>
<718e2490-369b-4b9e-8dfe-89eca37090edn@googlegroups.com> <2eeb2bb8-ef4e-411e-84a0-56837c45664dn@googlegroups.com>
<0b3ea0fe-36a3-48ab-b676-6a5ad40265aen@googlegroups.com> <c0f88305-3195-4c2f-ac69-30c7ff45fd2dn@googlegroups.com>
<725cf5f7-b31b-4686-a56f-0f53406cd4efn@googlegroups.com> <7cf81f96-9ddd-4826-88bd-42db74c863e9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2c283824-d8ea-4970-8c47-450c430500a2n@googlegroups.com>
Subject: Re: thoughts on digger /pieces digger
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 04 May 2022 20:18:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 37
 by: fir - Wed, 4 May 2022 20:18 UTC

środa, 4 maja 2022 o 22:08:19 UTC+2 fir napisał(a):
> i may add that being inside the machine feels other than i thought eventually thinking back then
> how code of compiler looks inside...possibly i thinked the code is more homogeneus and right now it dont feel that way
> as i said got splitter atomizer then i got switcher which sift out mainly if for and function definitions (i was not realized back tehen but function definition seems close to if and for in that respect)
> then what stays is either a function call (the biggest beast) or a value particle ..value particle is either simple or complex (and if its simple is either just value, simpel assign, simple definition or definition with assign..not sure if yet something) and im not quite happy i sift out those simple in switcher then i call
> what i call reducer on the complex ones - which reduces and emits them .. (if those value particles are in form of vector i yet before may dig them, same i must dig function call arguments) ..overaly this is quite not homeogeneus beast this compiler machine.. its not complex though (i also feel i should repair something yet possibly this switcher on short particles and that digger code (which i have only half written and use only for atguments)...(switcher is half good, reducer is good (though need some change), atomizer, splitter are good, after reducer i have neat emiter (for buildin operators) its also good) ..its not complex becouse each ot this elements mentioned its just one file (page ) of code (and files of code are up to 1k lines in my case, typically like 400 or even 200, maybe some sets of codes that do soem enumerated things are larger)
>
> i still skipped many things hovever, i have totally minimal (near zero) support for arrays and doubles, no
> structures.. possibly i should add 'em and also need to think how ebentually reshape this inner parts (mainly this switcher) to be more clear/clearer

if someone want to test last version https://filebin.net/6267ej32fxfhab0d

meybe its not so fun untill i will code some more new features like native support for chunks and
micromodules, but there still some way to go and im not sure if i do it eben this yer becouse i got some other obligations :c

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor