Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Each new user of a new system uncovers a new class of bugs. -- Kernighan


devel / comp.lang.forth / Re: ANN: Cweed4v04

SubjectAuthor
* ANN: Cweed4v04Howerd Oakford
`* Re: ANN: Cweed4v04Rick C
 +* Re: ANN: Cweed4v04dxforth
 |+- Re: ANN: Cweed4v04Jurgen Pitaske
 |`* Re: ANN: Cweed4v04Howerd Oakford
 | `* Re: ANN: Cweed4v04dxforth
 |  `- Re: ANN: Cweed4v04Howerd Oakford
 `- Re: ANN: Cweed4v04Howerd Oakford

1
ANN: Cweed4v04

<srsgrq$jib$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: how...@inventio.co.uk (Howerd Oakford)
Newsgroups: comp.lang.forth
Subject: ANN: Cweed4v04
Date: Fri, 14 Jan 2022 19:53:46 +0100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <srsgrq$jib$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Jan 2022 18:53:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2e2b9dc2953c9f413229f5b61444dfa5";
logging-data="20043"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RetVvj8KOrbwl2DohtsWT"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:BgSMTxvyPxazdDNJVp4ZSsGcQDk=
 by: Howerd Oakford - Fri, 14 Jan 2022 18:53 UTC

Hi Forthers,

I have just updated Cweed4 to V4.04 available here :

https://www.inventio.co.uk/Cweedexe.htm

Enjoy
Howerd :-)

Re: ANN: Cweed4v04

<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:a90f:: with SMTP id s15mr2428894qke.605.1642209608215;
Fri, 14 Jan 2022 17:20:08 -0800 (PST)
X-Received: by 2002:ad4:5c8c:: with SMTP id o12mr389981qvh.51.1642209608086;
Fri, 14 Jan 2022 17:20:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!border1.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.forth
Date: Fri, 14 Jan 2022 17:20:07 -0800 (PST)
In-Reply-To: <srsgrq$jib$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=65.207.89.54; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 65.207.89.54
References: <srsgrq$jib$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
Subject: Re: ANN: Cweed4v04
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Sat, 15 Jan 2022 01:20:08 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 17
 by: Rick C - Sat, 15 Jan 2022 01:20 UTC

On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
> Hi Forthers,
>
> I have just updated Cweed4 to V4.04 available here :
>
> https://www.inventio.co.uk/Cweedexe.htm
>
> Enjoy
> Howerd :-)

How is this different from the many pretty print programs around? Or do I not understand what it is doing?

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Re: ANN: Cweed4v04

<srtmnu$6o0$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: ANN: Cweed4v04
Date: Sat, 15 Jan 2022 16:40:13 +1100
Organization: Aioe.org NNTP Server
Message-ID: <srtmnu$6o0$1@gioia.aioe.org>
References: <srsgrq$jib$1@dont-email.me>
<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="6912"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Sat, 15 Jan 2022 05:40 UTC

On 15/01/2022 12:20, Rick C wrote:
> On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
>> Hi Forthers,
>>
>> I have just updated Cweed4 to V4.04 available here :
>>
>> https://www.inventio.co.uk/Cweedexe.htm
>>
>> Enjoy
>> Howerd :-)
>
> How is this different from the many pretty print programs around? Or do I not understand what it is doing?
>

It would have been Forth source formatter had there been a standard for that :)

Re: ANN: Cweed4v04

<78c4d231-3bf6-467a-b33a-328870bc248dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:7f8b:: with SMTP id z11mr10667833qtj.396.1642232110148;
Fri, 14 Jan 2022 23:35:10 -0800 (PST)
X-Received: by 2002:a05:6214:5298:: with SMTP id kj24mr10829518qvb.59.1642232110013;
Fri, 14 Jan 2022 23:35:10 -0800 (PST)
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.forth
Date: Fri, 14 Jan 2022 23:35:09 -0800 (PST)
In-Reply-To: <srtmnu$6o0$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=85.210.155.220; posting-account=eAOrwQkAAABheFES5y-02sBOFdTlBRio
NNTP-Posting-Host: 85.210.155.220
References: <srsgrq$jib$1@dont-email.me> <0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
<srtmnu$6o0$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <78c4d231-3bf6-467a-b33a-328870bc248dn@googlegroups.com>
Subject: Re: ANN: Cweed4v04
From: jpita...@gmail.com (Jurgen Pitaske)
Injection-Date: Sat, 15 Jan 2022 07:35:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 24
 by: Jurgen Pitaske - Sat, 15 Jan 2022 07:35 UTC

On Saturday, 15 January 2022 at 05:40:17 UTC, dxforth wrote:
> On 15/01/2022 12:20, Rick C wrote:
> > On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
> >> Hi Forthers,
> >>
> >> I have just updated Cweed4 to V4.04 available here :
> >>
> >> https://www.inventio.co.uk/Cweedexe.htm
> >>
> >> Enjoy
> >> Howerd :-)
> >
> > How is this different from the many pretty print programs around? Or do I not understand what it is doing?
> >
> It would have been Forth source formatter had there been a standard for that :)

Cweed4.exe
Cweed4 is a C source file weeder for Windows, written in Win32Forth.
It only changes whitespace (formatting) and does not otherwise change the content of the file.
This is analogous to weeding a garden, where the plants are left untouched but the bits between (weeds) may be seriously modified.
Cweed is an experiment in specifying a coding standard in the form of an executable program.
cweed4v04.7z 2022 Jan 14
To run Cweed4, download the 7z file, unzip it and run go.bat or Cweed4.exe
It is designed only to modify whitespace, but please make a backup before using.
https://www.inventio.co.uk/Cweedexe.htm

Re: ANN: Cweed4v04

<ss3ate$s84$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: how...@inventio.co.uk (Howerd Oakford)
Newsgroups: comp.lang.forth
Subject: Re: ANN: Cweed4v04
Date: Mon, 17 Jan 2022 09:55:10 +0100
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <ss3ate$s84$1@dont-email.me>
References: <srsgrq$jib$1@dont-email.me>
<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jan 2022 08:55:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="84657580ed6bddbe62ddaae35f41c129";
logging-data="28932"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+n8zjcrdiJY+Jpwi97gqrT"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:im+I1vFb6Ms3BAE+nzZAx7HQ8HY=
In-Reply-To: <0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
 by: Howerd Oakford - Mon, 17 Jan 2022 08:55 UTC

Am 15/01/2022 um 02:20 schrieb Rick C:
> On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
>> Hi Forthers,
>>
>> I have just updated Cweed4 to V4.04 available here :
>>
>> https://www.inventio.co.uk/Cweedexe.htm
>>
>> Enjoy
>> Howerd :-)
>
> How is this different from the many pretty print programs around? Or do I not understand what it is doing?
>
Hi Rick,

I think it is the only one written in Forth.

The other differences are probably (i.e. without looking at all the
other Open Source ones available) :
1. Programmable by a run-time loaded Forth script file.
2. Supports Barr 2018 Coding standard white space rules (not 100%, but
to a useful extent).
3. Checks for Lint command violations.
4. Creates a report of violations and information in all sub-folders.
5. Converts and old-school Forth Block file into text file (ctrlR).
6. Displays the CRC32 MD5 and NumName for each file.

The "NumName" is a pair of English words derived from 30 bits of the MD5
hash of the file. NumName is a horribly ugly creation, but I find it too
useful to delete it and pretend it never happened. It is ugly because it
produces two English words while completely ignoring their meaning. YMMV.

Basically, Cweed4 is an experiment in specifying a coding standard as an
executable program.
The history is that every time I have a needed to modify a C/C++ file,
or folder of files, according to some coding standard (every company
seems to have their own) I tack some more code on to Cweed4.

The Cweed4 distribution comes complete with Win32Forth V6.03H (the
latest anti-virus-friendly version), including *all* source files, so
you can modify and rebuild *everything* (although the Kernel requires VS
2006 to rebuild it).

Cweed4 is also great if you want to understand the C language syntax.

Cheers,
Howerd

Re: ANN: Cweed4v04

<ss3b5s$1l8$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: how...@inventio.co.uk (Howerd Oakford)
Newsgroups: comp.lang.forth
Subject: Re: ANN: Cweed4v04
Date: Mon, 17 Jan 2022 09:59:40 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ss3b5s$1l8$1@dont-email.me>
References: <srsgrq$jib$1@dont-email.me>
<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
<srtmnu$6o0$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jan 2022 08:59:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="84657580ed6bddbe62ddaae35f41c129";
logging-data="1704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lhdO/Y5O7qA/VSOVfFUR1"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:QQ6IMyMGcJQRUmICsIIVsbzPQG8=
In-Reply-To: <srtmnu$6o0$1@gioia.aioe.org>
 by: Howerd Oakford - Mon, 17 Jan 2022 08:59 UTC

Am 15/01/2022 um 06:40 schrieb dxforth:
> On 15/01/2022 12:20, Rick C wrote:
>> On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
>>> Hi Forthers,
>>> I have just updated Cweed4 to V4.04 available here :
>>> https://www.inventio.co.uk/Cweedexe.htm
>>> Enjoy Howerd :-)
>>
>> How is this different from the many pretty print programs around?  Or
>> do I not understand what it is doing?
>>
>
> It would have been Forth source formatter had there been a standard for
> that :)
Hi dxforth,

You can use Cweed4 on a Forth file to convert tabs to spaces, removing
trailing whitespace etc. etc.
Not sure that Barr 2018 and Lint would be very useful though, and the
formatting could be interesting...

Stephen Pelc has created an MPE coding standard for Forth -
I did think about doing an Fweed4, but colorForth has already solved
that problem ;-)

Cheers,
Howerd

Re: ANN: Cweed4v04

<ss3gic$1fip$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: ANN: Cweed4v04
Date: Mon, 17 Jan 2022 21:31:39 +1100
Organization: Aioe.org NNTP Server
Message-ID: <ss3gic$1fip$1@gioia.aioe.org>
References: <srsgrq$jib$1@dont-email.me>
<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
<srtmnu$6o0$1@gioia.aioe.org> <ss3b5s$1l8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="48729"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: dxforth - Mon, 17 Jan 2022 10:31 UTC

On 17/01/2022 19:59, Howerd Oakford wrote:
> Am 15/01/2022 um 06:40 schrieb dxforth:
>> On 15/01/2022 12:20, Rick C wrote:
>>> On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
>>>> Hi Forthers,
>>>> I have just updated Cweed4 to V4.04 available here :
>>>> https://www.inventio.co.uk/Cweedexe.htm
>>>> Enjoy Howerd :-)
>>>
>>> How is this different from the many pretty print programs around?  Or
>>> do I not understand what it is doing?
>>>
>>
>> It would have been Forth source formatter had there been a standard for
>> that :)
> Hi dxforth,
>
> You can use Cweed4 on a Forth file to convert tabs to spaces, removing
> trailing whitespace etc. etc.
> Not sure that Barr 2018 and Lint would be very useful though, and the
> formatting could be interesting...
>
> Stephen Pelc has created an MPE coding standard for Forth -
> I did think about doing an Fweed4, but colorForth has already solved
> that problem ;-)

It went downhill for Forth once it was decided the comment line could
occupy the body of a definition. It equates to putting adverts in the
middle of TV program. Does wonders for the continuity. Forth hard to
read? Let's make it harder :)

Re: ANN: Cweed4v04

<ss6qhn$ro4$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: how...@inventio.co.uk (Howerd Oakford)
Newsgroups: comp.lang.forth
Subject: Re: ANN: Cweed4v04
Date: Tue, 18 Jan 2022 17:40:25 +0100
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <ss6qhn$ro4$1@dont-email.me>
References: <srsgrq$jib$1@dont-email.me>
<0f4fe5a4-9767-4995-8feb-ced081dbaea1n@googlegroups.com>
<srtmnu$6o0$1@gioia.aioe.org> <ss3b5s$1l8$1@dont-email.me>
<ss3gic$1fip$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 Jan 2022 16:40:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="82bc6e9120b67ce58b1dcb75214134a0";
logging-data="28420"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IUfUlCXqfGftyGSH10aD6"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:jMieGhVifsuqCXwlFUOeaPJCYx8=
In-Reply-To: <ss3gic$1fip$1@gioia.aioe.org>
 by: Howerd Oakford - Tue, 18 Jan 2022 16:40 UTC

Am 17/01/2022 um 11:31 schrieb dxforth:
> On 17/01/2022 19:59, Howerd Oakford wrote:
>> Am 15/01/2022 um 06:40 schrieb dxforth:
>>> On 15/01/2022 12:20, Rick C wrote:
>>>> On Friday, January 14, 2022 at 1:53:48 PM UTC-5, Howerd wrote:
>>>>> Hi Forthers,
>>>>> I have just updated Cweed4 to V4.04 available here :
>>>>> https://www.inventio.co.uk/Cweedexe.htm
>>>>> Enjoy Howerd :-)
>>>>
>>>> How is this different from the many pretty print programs around?
>>>> Or do I not understand what it is doing?
>>>>
>>>
>>> It would have been Forth source formatter had there been a standard
>>> for that :)
>> Hi dxforth,
>>
>> You can use Cweed4 on a Forth file to convert tabs to spaces, removing
>> trailing whitespace etc. etc.
>> Not sure that Barr 2018 and Lint would be very useful though, and the
>> formatting could be interesting...
>>
>> Stephen Pelc has created an MPE coding standard for Forth -
>> I did think about doing an Fweed4, but colorForth has already solved
>> that problem ;-)
>
> It went downhill for Forth once it was decided the comment line could
> occupy the body of a definition.  It equates to putting adverts in the
> middle of TV program.  Does wonders for the continuity.  Forth hard to
> read?  Let's make it harder :)
Hi dxforth,

That is an interesting take on comments in the body of a definition - I
think I agree.

In my regular job at the moment, we are adding a comment line before
almost every line of C code - something like :
// add one to the variable x
x++;
This is so when the code is converted to a flow chart the comment lines
appear in the boxes.

I always liked the shadow block approach - 'Q' or '*' to toggle between
the two. This makes it simple to either read the code, or read the
comments. Is this what you mean?

Cheers,
Howerd

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor