Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The "cutting edge" is getting rather dull. -- Andy Purshottam


devel / comp.lang.forth / Big lettering

SubjectAuthor
* Big letteringAntoni Gual Via
`* Re: Big letteringdxf
 `* Re: Big letteringgobli...@gmail.com
  `* Re: Big letteringMarcel Hendrix
   `* Re: Big letteringdxf
    `* Re: Big letteringAntoni Gual Via
     `* Re: Big letteringHans Bezemer
      +* Re: Big letteringThe Daily Info
      |`* Re: Big letteringAntoni Gual Via
      | `* Re: Big letteringHans Bezemer
      |  +* Re: Big letteringDoug Hoffman
      |  |`* Re: Big letteringHans Bezemer
      |  | +* Re: Big letteringdxf
      |  | |`* Re: Big letteringHans Bezemer
      |  | | `* Re: Big letteringdxf
      |  | |  `- Re: Big letteringnone
      |  | `* Re: Big letteringAnton Ertl
      |  |  +* Re: Big letteringnone
      |  |  |+* Re: Big letteringminforth
      |  |  ||`* Re: Big letteringnone
      |  |  || `* Re: Big letteringminforth
      |  |  ||  `* Re: Big letteringnone
      |  |  ||   `- Re: Big letteringHans Bezemer
      |  |  |`* Re: Big letteringdxf
      |  |  | `* Re: Big letteringHans Bezemer
      |  |  |  `- Re: Big letteringdxf
      |  |  `- Re: Big letteringHans Bezemer
      |  `* Re: Big letteringHans Bezemer
      |   `- Re: Big letteringHans Bezemer
      `- Re: Big letteringDoug Hoffman

Pages:12
Big lettering

<683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24765&group=comp.lang.forth#24765

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:2c2:b0:417:fe9c:6dbf with SMTP id a2-20020a05622a02c200b00417fe9c6dbfmr128714qtx.11.1696154023216;
Sun, 01 Oct 2023 02:53:43 -0700 (PDT)
X-Received: by 2002:a05:6214:2e06:b0:65d:86d6:8188 with SMTP id
mx6-20020a0562142e0600b0065d86d68188mr107789qvb.6.1696154022839; Sun, 01 Oct
2023 02:53:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 1 Oct 2023 02:53:42 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=92.189.48.160; posting-account=bd1LGwoAAAArJUc1f4XW695QNxDQwWXL
NNTP-Posting-Host: 92.189.48.160
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
Subject: Big lettering
From: antonigualvia@gmail.com (Antoni Gual Via)
Injection-Date: Sun, 01 Oct 2023 09:53:43 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2383
 by: Antoni Gual Via - Sun, 1 Oct 2023 09:53 UTC

Hello, I'm Antoni from Barcelona, just a newbie.
Thinking how to enhance gforth's console output, i stumbled on the ASCII big lettering generator figlet, it's online here so you can reate your own texts and choose and copy/paste the lettering that fits to your program.
https://www.askapache.com/online-tools/figlet-ascii/
So I copied and pasted one output of figlet in my code and made a word to handle it. It does'nt clip the text if it goes out of screen.
\ --------------------------------

create powered 8 ,
S" ______ _ _ ______ _ _ " 2,
S" | ___ \ | | | | ___| | | | | " 2,
S" | |_/ /____ _____ _ __ ___ __| | |__ _ _| |_ ___ _ __| |_| |__ " 2,
S" | __/ _ \ \ /\ / / _ \ '__/ _ \/ _` | '_ \| | | | _/ _ \| '__| __| '_ \ " 2,
S" | | | (_) \ V V / __/ | | __/ (_| | |_) | |_| | || (_) | | | |_| | | |" 2,
S" \_| \___/ \_/\_/ \___|_| \___|\__,_|_.__/ \__, \_| \___/|_| \__|_| |_|" 2,
S" __/ | " 2,
S" |___/ " 2,

: .logo ( x y txt -- )
dup @ 0 do -rot 2dup i + at-xy rot dup cell + i cells 2* + 2@ type loop 2drop drop ;

page
4 4 powered .logo
5 15 powered .logo
\ ----------------------------
hope you like it
Antonio

Re: Big lettering

<ufd275$2ii5g$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24774&group=comp.lang.forth#24774

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
Date: Mon, 2 Oct 2023 11:17:41 +1100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <ufd275$2ii5g$2@dont-email.me>
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 Oct 2023 00:17:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6acc6f26aeda03a6f3cdd024f20a0160";
logging-data="2705584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fI/fjHN1zfdsmY0ARnJc0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1MVkWn+YDl6pd/PfS1DvVAE6HUI=
In-Reply-To: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
Content-Language: en-GB
 by: dxf - Mon, 2 Oct 2023 00:17 UTC

On 1/10/2023 8:53 pm, Antoni Gual Via wrote:
> Hello, I'm Antoni from Barcelona, just a newbie.
> Thinking how to enhance gforth's console output, i stumbled on the ASCII big lettering generator figlet, it's online here so you can reate your own texts and choose and copy/paste the lettering that fits to your program.
> https://www.askapache.com/online-tools/figlet-ascii/
> So I copied and pasted one output of figlet in my code and made a word to handle it. It does'nt clip the text if it goes out of screen.

It's also gforth-specific. A nice exercise would be to make it portable :)

Re: Big lettering

<7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24780&group=comp.lang.forth#24780

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5890:0:b0:65a:fd9d:e807 with SMTP id dz16-20020ad45890000000b0065afd9de807mr170529qvb.13.1696242132653;
Mon, 02 Oct 2023 03:22:12 -0700 (PDT)
X-Received: by 2002:a05:6830:359a:b0:6c6:4843:2aba with SMTP id
bd26-20020a056830359a00b006c648432abamr1963906otb.4.1696242132400; Mon, 02
Oct 2023 03:22:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 2 Oct 2023 03:22:11 -0700 (PDT)
In-Reply-To: <ufd275$2ii5g$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:e0a:118:ea0:d243:2961:4f6:edd0;
posting-account=3HjpJwoAAACwXD1UyRZwC1Lkp4Lq1jcg
NNTP-Posting-Host: 2a01:e0a:118:ea0:d243:2961:4f6:edd0
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com> <ufd275$2ii5g$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
Subject: Re: Big lettering
From: goblinrieur@gmail.com (gobli...@gmail.com)
Injection-Date: Mon, 02 Oct 2023 10:22:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2346
 by: gobli...@gmail.com - Mon, 2 Oct 2023 10:22 UTC

Le lundi 2 octobre 2023 à 02:17:44 UTC+2, dxf a écrit :
> On 1/10/2023 8:53 pm, Antoni Gual Via wrote:
> > Hello, I'm Antoni from Barcelona, just a newbie.
> > Thinking how to enhance gforth's console output, i stumbled on the ASCII big lettering generator figlet, it's online here so you can reate your own texts and choose and copy/paste the lettering that fits to your program.
> > https://www.askapache.com/online-tools/figlet-ascii/
> > So I copied and pasted one output of figlet in my code and made a word to handle it. It does'nt clip the text if it goes out of screen.
> It's also gforth-specific. A nice exercise would be to make it portable :)

having also figlet an gforth you can call figlet system side
s" figlet TITLE > /dev/shm/title.txt" system ok
s" /dev/shm/title.txt" cr slurp-file type cr
_____ ___ _____ _ _____
|_ _|_ _|_ _| | | ____|
| | | | | | | | | _|
| | | | | | | |___| |___
|_| |___| |_| |_____|_____|

ok
BUT this method is also both gforth & system dependant

Re: Big lettering

<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24783&group=comp.lang.forth#24783

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:4d90:b0:775:7523:b698 with SMTP id uw16-20020a05620a4d9000b007757523b698mr142664qkn.3.1696260073317;
Mon, 02 Oct 2023 08:21:13 -0700 (PDT)
X-Received: by 2002:a9d:7c81:0:b0:6b7:3eba:59d3 with SMTP id
q1-20020a9d7c81000000b006b73eba59d3mr3442742otn.6.1696260073010; Mon, 02 Oct
2023 08:21:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 2 Oct 2023 08:21:12 -0700 (PDT)
In-Reply-To: <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:8f9f:1384:8637:5260;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:8f9f:1384:8637:5260
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>
Subject: Re: Big lettering
From: mhx@iae.nl (Marcel Hendrix)
Injection-Date: Mon, 02 Oct 2023 15:21:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2503
 by: Marcel Hendrix - Mon, 2 Oct 2023 15:21 UTC

On Monday, October 2, 2023 at 12:22:14 PM UTC+2, gobli...@gmail.com wrote:
[..]
> BUT this method is also both gforth & system dependant

Amusing. Why is it gForth dependent (leave off /shmem/ to remove
OS-dependency)?
___ ___ ___ ___ ___
___ /\ \ /\ \ /\ \ /\ \ /\__\
/\ \ /::\ \ /::\ \ /::\ \ \:\ \ /:/ /
\:\ \ /:/\:\ \ /:/\:\ \ /:/\:\ \ \:\ \ /:/__/
/::\__\ /::\~\:\ \ /:/ \:\ \ /::\~\:\ \ /::\ \ /::\ \ ___
__/:/\/__/ /:/\:\ \:\__\ /:/__/ \:\__\ /:/\:\ \:\__\ /:/\:\__\ /:/\:\ /\__\
/\/:/ / \/__\:\ \/__/ \:\ \ /:/ / \/_|::\/:/ / /:/ \/__/ \/__\:\/:/ /
\::/__/ \:\__\ \:\ /:/ / |:|::/ / /:/ / \::/ /
\:\__\ \/__/ \:\/:/ / |:|\/__/ \/__/ /:/ /
\/__/ \::/ / |:| | /:/ /
\/__/ \|__| \/__/

Re: Big lettering

<uffiqs$35tjc$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24790&group=comp.lang.forth#24790

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
Date: Tue, 3 Oct 2023 10:13:33 +1100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <uffiqs$35tjc$1@dont-email.me>
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me>
<7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 Oct 2023 23:13:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="504c78e748cbcb538bf4d2f7a74f2267";
logging-data="3339884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gSC0t3/fXHok0PKjAXTQU"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TKuJJzcZ+21ymEavRieSjEb0xTw=
Content-Language: en-GB
In-Reply-To: <a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>
 by: dxf - Mon, 2 Oct 2023 23:13 UTC

On 3/10/2023 2:21 am, Marcel Hendrix wrote:
> On Monday, October 2, 2023 at 12:22:14 PM UTC+2, gobli...@gmail.com wrote:
> [..]
>> BUT this method is also both gforth & system dependant
>
> Amusing. Why is it gForth dependent (leave off /shmem/ to remove
> OS-dependency)?

Multiple persistent S" strings outside a definition.

Re: Big lettering

<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24794&group=comp.lang.forth#24794

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:8905:b0:76f:1ec2:b802 with SMTP id ql5-20020a05620a890500b0076f1ec2b802mr174123qkn.9.1696331233935;
Tue, 03 Oct 2023 04:07:13 -0700 (PDT)
X-Received: by 2002:a05:6808:1a19:b0:3ae:532c:e93a with SMTP id
bk25-20020a0568081a1900b003ae532ce93amr6705893oib.11.1696331232998; Tue, 03
Oct 2023 04:07:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 3 Oct 2023 04:07:12 -0700 (PDT)
In-Reply-To: <uffiqs$35tjc$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=213.96.45.226; posting-account=bd1LGwoAAAArJUc1f4XW695QNxDQwWXL
NNTP-Posting-Host: 213.96.45.226
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
Subject: Re: Big lettering
From: antonigualvia@gmail.com (Antoni Gual Via)
Injection-Date: Tue, 03 Oct 2023 11:07:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1721
 by: Antoni Gual Via - Tue, 3 Oct 2023 11:07 UTC

El dia dimarts, 3 d’octubre de 2023 a les 1:13:35 UTC+2, dxf va escriure:

> Multiple persistent S" strings outside a definition.
This is the third time I try to answer. I could open the thread but my answers are blocked, I don't know why...

@dxforth
Thanks for your advice. I have found a thread at reddit that gives alternative solutions. I'll try them this week end.
Antonio

Re: Big lettering

<17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24796&group=comp.lang.forth#24796

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:24b:b0:775:74c5:95ea with SMTP id q11-20020a05620a024b00b0077574c595eamr51381qkn.1.1696353258123;
Tue, 03 Oct 2023 10:14:18 -0700 (PDT)
X-Received: by 2002:a05:6808:30a7:b0:3af:6c87:144c with SMTP id
bl39-20020a05680830a700b003af6c87144cmr118933oib.2.1696353257836; Tue, 03 Oct
2023 10:14:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.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.forth
Date: Tue, 3 Oct 2023 10:14:17 -0700 (PDT)
In-Reply-To: <548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Tue, 03 Oct 2023 17:14:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Hans Bezemer - Tue, 3 Oct 2023 17:14 UTC

On Tuesday, October 3, 2023 at 1:07:15 PM UTC+2, Antoni Gual Via wrote:
I got a library that does banners: https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/lib/banners.4th
You may not like the font, but it is what it is.

If a font has a fixed with, you may select the letters by making some very large string and clip 'em. I used
that technique with digits here (sorry: no Forth)..

https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/apps/basic/clock.bas

Hans Bezemer

Re: Big lettering

<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24797&group=comp.lang.forth#24797

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5907:0:b0:63d:32a7:5257 with SMTP id ez7-20020ad45907000000b0063d32a75257mr52569qvb.4.1696483124709;
Wed, 04 Oct 2023 22:18:44 -0700 (PDT)
X-Received: by 2002:a05:6870:98af:b0:1e1:30c2:112e with SMTP id
eg47-20020a05687098af00b001e130c2112emr1824621oab.7.1696483124403; Wed, 04
Oct 2023 22:18:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.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: Wed, 4 Oct 2023 22:18:44 -0700 (PDT)
In-Reply-To: <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=103.178.155.3; posting-account=SVR9gAoAAAA_2EZcC4YKti2Gi-BV19xz
NNTP-Posting-Host: 103.178.155.3
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
Subject: Re: Big lettering
From: theinfo155@gmail.com (The Daily Info)
Injection-Date: Thu, 05 Oct 2023 05:18:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: The Daily Info - Thu, 5 Oct 2023 05:18 UTC

On Tuesday, October 3, 2023 at 10:44:19 PM UTC+5:30, Hans Bezemer wrote:
> On Tuesday, October 3, 2023 at 1:07:15 PM UTC+2, Antoni Gual Via wrote:
> I got a library that does banners: https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/lib/banners.4th
> You may not like the font, but it is what it is.
>
> If a font has a fixed with, you may select the letters by making some very large string and clip 'em. I used
> that technique with digits here (sorry: no Forth)..
>
> https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/apps/basic/clock.bas
>
> Hans Bezemer
https://www.quickbookintegration.com

Re: Big lettering

<517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24798&group=comp.lang.forth#24798

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:9a9:b0:655:afc1:e9b1 with SMTP id du9-20020a05621409a900b00655afc1e9b1mr57713qvb.1.1696488454972;
Wed, 04 Oct 2023 23:47:34 -0700 (PDT)
X-Received: by 2002:a05:6808:1b23:b0:3ad:f838:d02b with SMTP id
bx35-20020a0568081b2300b003adf838d02bmr2406329oib.0.1696488454800; Wed, 04
Oct 2023 23:47:34 -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.forth
Date: Wed, 4 Oct 2023 23:47:34 -0700 (PDT)
In-Reply-To: <295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.96.45.226; posting-account=bd1LGwoAAAArJUc1f4XW695QNxDQwWXL
NNTP-Posting-Host: 213.96.45.226
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
Subject: Re: Big lettering
From: antonigualvia@gmail.com (Antoni Gual Via)
Injection-Date: Thu, 05 Oct 2023 06:47:34 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Antoni Gual Via - Thu, 5 Oct 2023 06:47 UTC

Hello Hans
I tried to run the banner library but it had some words specific to 4th, I will have to install it.
No problem with Basic, I have been using VBA and VBS for the last 20 years. In fact some of the VBS entries in Rosetta Code are mine.
I'm wrong or uBasic is programmed in Forth?
Antoni

Re: Big lettering

<1d70390c-0da8-4ba9-b554-3d6e49e1f090n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24799&group=comp.lang.forth#24799

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5588:0:b0:656:160d:370 with SMTP id f8-20020ad45588000000b00656160d0370mr60662qvx.8.1696508808581;
Thu, 05 Oct 2023 05:26:48 -0700 (PDT)
X-Received: by 2002:a05:6870:9566:b0:1dd:7381:def with SMTP id
v38-20020a056870956600b001dd73810defmr2006161oal.9.1696508808268; Thu, 05 Oct
2023 05:26:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 5 Oct 2023 05:26:47 -0700 (PDT)
In-Reply-To: <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.36.198.233; posting-account=YrYQiQoAAAB3ECk4vm4OgA6KUu5AcEY0
NNTP-Posting-Host: 68.36.198.233
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d70390c-0da8-4ba9-b554-3d6e49e1f090n@googlegroups.com>
Subject: Re: Big lettering
From: dhoffman888@gmail.com (Doug Hoffman)
Injection-Date: Thu, 05 Oct 2023 12:26:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2309
 by: Doug Hoffman - Thu, 5 Oct 2023 12:26 UTC

On Tuesday, October 3, 2023 at 1:14:19 PM UTC-4, Hans Bezemer wrote:
> I got a library that does banners: https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/lib/banners.4th
> You may not like the font, but it is what it is.

I expect many Forths have graphics libraries that allow using any size font (and any font) one desires.
The text is easily directed to either the screen or the printer.
Of course this is not, and never will be, standardized.

In MFonVFX:

new.window TestW
50 50 400 1700 TestW w.bounds \ gives a 16 inch wide by 3.5 inch tall window

: drawTestW
200 _TextSize
c" Helvetica" get.font.number TextFont
outline textface
50 250 moveto
s" poweredByForth" DrawText ; \ 15.25 inches wide by 2.25 inches high text

TestW on.update drawTestW
TestW add.window

-Doug

Re: Big lettering

<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24800&group=comp.lang.forth#24800

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:178f:b0:774:196:f0e1 with SMTP id ay15-20020a05620a178f00b007740196f0e1mr85520qkb.15.1696522795143;
Thu, 05 Oct 2023 09:19:55 -0700 (PDT)
X-Received: by 2002:a05:6808:309b:b0:3ae:554b:583e with SMTP id
bl27-20020a056808309b00b003ae554b583emr3076318oib.6.1696522794850; Thu, 05
Oct 2023 09:19:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.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: Thu, 5 Oct 2023 09:19:54 -0700 (PDT)
In-Reply-To: <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Thu, 05 Oct 2023 16:19:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 157
 by: Hans Bezemer - Thu, 5 Oct 2023 16:19 UTC

On Thursday, October 5, 2023 at 8:47:37 AM UTC+2, Antoni Gual Via wrote:
> Hello Hans
> I tried to run the banner library but it had some words specific to 4th, I will have to install it.
No, you don't. I nicked the original from F-PC (much easier to adapt). So here it is. It does the same.
It's tested on Gforth and runs just fine.

---8<---
\ BANNER.SEQ Compliments of F83X mod to sequential by Tom Zimmer

CREATE CHAR-MATRIX \ build the character generator
HEX ( ) 00 C, 00 C, 00 C, 00 C, 00 C, 00 C, 00 C, 00 C,
( !) 20 C, 20 C, 20 C, 20 C, 20 C, 00 C, 20 C, 00 C,
( ") 50 C, 50 C, 50 C, 00 C, 00 C, 00 C, 00 C, 00 C,
( #) 50 C, 50 C, F8 C, 50 C, F8 C, 50 C, 50 C, 00 C,
( $) 20 C, 78 C, A0 C, 70 C, 28 C, F0 C, 20 C, 00 C,
( %) C0 C, C8 C, 10 C, 20 C, 40 C, 98 C, 18 C, 00 C,
( &) 40 C, A0 C, A0 C, 40 C, A8 C, 90 C, 68 C, 00 C,
( ') 30 C, 30 C, 10 C, 20 C, 00 C, 00 C, 00 C, 00 C,
( () 20 C, 40 C, 80 C, 80 C, 80 C, 40 C, 20 C, 00 C,
( ) 20 C, 10 C, 08 C, 08 C, 08 C, 10 C, 20 C, 00 C,
( *) 20 C, a8 C, 70 C, 20 C, 70 C, a8 C, 20 C, 00 C,
( +) 00 C, 20 C, 20 C, 70 C, 20 C, 20 C, 00 C, 00 C,
( ,) 00 C, 00 C, 00 C, 30 C, 30 C, 10 C, 20 C, 00 C,
( -) 00 C, 00 C, 00 C, 70 C, 00 C, 00 C, 00 C, 00 C,
( .) 00 C, 00 C, 00 C, 00 C, 00 C, 30 C, 30 C, 00 C,
( /) 00 C, 08 C, 10 C, 20 C, 40 C, 80 C, 00 C, 00 C,
( 0) 70 C, 88 C, 98 C, A8 C, C8 C, 88 C, 70 C, 00 C,
( 1) 20 C, 60 C, 20 C, 20 C, 20 C, 20 C, 70 C, 00 C,
( 2) 70 C, 88 C, 08 C, 30 C, 40 C, 80 C, F8 C, 00 C,
( 3) F8 C, 10 C, 20 C, 30 C, 08 C, 88 C, 70 C, 00 C,
( 4) 10 C, 30 C, 50 C, 90 C, F8 C, 10 C, 10 C, 00 C,
( 5) F8 C, 80 C, F0 C, 08 C, 08 C, 88 C, 70 C, 00 C,
( 6) 38 C, 40 C, 80 C, F0 C, 88 C, 88 C, 70 C, 00 C,
( 7) F8 C, 08 C, 10 C, 20 C, 40 C, 40 C, 40 C, 00 C,
( 8) 70 C, 88 C, 88 C, 70 C, 88 C, 88 C, 70 C, 00 C,
( 9) 70 C, 88 C, 88 C, 78 C, 08 C, 10 C, E0 C, 00 C,
( :) 00 C, 60 C, 60 C, 00 C, 60 C, 60 C, 00 C, 00 C,
( ;) 00 C, 60 C, 60 C, 00 C, 60 C, 60 C, 40 C, 00 C,
( <) 10 C, 20 C, 40 C, 80 C, 40 C, 20 C, 10 C, 00 C,
( =) 00 C, 00 C, F8 C, 00 C, F8 C, 00 C, 00 C, 00 C,
( >) 40 C, 20 C, 10 C, 08 C, 10 C, 20 C, 40 C, 00 C,
( ?) 70 C, 88 C, 10 C, 20 C, 20 C, 00 C, 20 C, 00 C,
( @) 70 C, 88 C, A8 C, B8 C, B0 C, 80 C, 78 C, 00 C,
( A) 20 C, 70 C, 88 C, 88 C, F8 C, 88 C, 88 C, 00 C,
( B) F0 C, 88 C, 88 C, F0 C, 88 C, 88 C, F0 C, 00 C,
( C) 70 C, 88 C, 80 C, 80 C, 80 C, 88 C, 70 C, 00 C,
( D) F0 C, 48 C, 48 C, 48 C, 48 C, 48 C, F0 C, 00 C,
( E) F8 C, 80 C, 80 C, F0 C, 80 C, 80 C, F8 C, 00 C,
( F) F8 C, 80 C, 80 C, F0 C, 80 C, 80 C, 80 C, 00 C,
( G) 78 C, 80 C, 80 C, 80 C, 98 C, 88 C, 78 C, 00 C,
( H) 88 C, 88 C, 88 C, F8 C, 88 C, 88 C, 88 C, 00 C,
( I) 70 C, 20 C, 20 C, 20 C, 20 C, 20 C, 70 C, 00 C,
( J) 08 C, 08 C, 08 C, 08 C, 08 C, 88 C, 78 C, 00 C,
( K) 88 C, 90 C, A0 C, C0 C, A0 C, 90 C, 88 C, 00 C,
( L) 80 C, 80 C, 80 C, 80 C, 80 C, 80 C, F8 C, 00 C,
( M) 88 C, D8 C, A8 C, A8 C, 88 C, 88 C, 88 C, 00 C,
( N) 88 C, 88 C, C8 C, A8 C, 98 C, 88 C, 88 C, 00 C,
( O) 70 C, 88 C, 88 C, 88 C, 88 C, 88 C, 70 C, 00 C,
( P) F0 C, 88 C, 88 C, F0 C, 80 C, 80 C, 80 C, 00 C,
( Q) 70 C, 88 C, 88 C, 88 C, A8 C, 90 C, 68 C, 00 C,
( R) F0 C, 88 C, 88 C, F0 C, A0 C, 90 C, 88 C, 00 C,
( S) 70 C, 88 C, 80 C, 70 C, 08 C, 88 C, 70 C, 00 C,
( T) F8 C, 20 C, 20 C, 20 C, 20 C, 20 C, 20 C, 00 C,
( U) 88 C, 88 C, 88 C, 88 C, 88 C, 88 C, 70 C, 00 C,
( V) 88 C, 88 C, 88 C, 88 C, 88 C, 50 C, 20 C, 00 C,
( W) 88 C, 88 C, 88 C, A8 C, A8 C, D8 C, 88 C, 00 C,
( X) 88 C, 88 C, 50 C, 20 C, 50 C, 88 C, 88 C, 00 C,
( Y) 88 C, 88 C, 50 C, 20 C, 20 C, 20 C, 20 C, 00 C,
( Z) F8 C, 08 C, 10 C, 20 C, 40 C, 80 C, F8 C, 00 C,
( [) 78 C, 40 C, 40 C, 40 C, 40 C, 40 C, 78 C, 00 C,
( \) 00 C, 80 C, 40 C, 20 C, 10 C, 08 C, 00 C, 00 C,
( ]) F0 C, 10 C, 10 C, 10 C, 10 C, 10 C, F0 C, 00 C,
( ^) 00 C, 00 C, 20 C, 50 C, 88 C, 00 C, 00 C, 00 C,
( _) 00 C, 00 C, 00 C, 00 C, 00 C, 00 C, 00 C, F8 C,

DECIMAL

CREATE BITS ( --- a1 )
128 C, 64 C, 32 C, 16 C, 8 C, 4 C, 2 C, 1 C,

: BIT ( N1 --- F1 )
BITS + C@ AND 0= 1+ ;

: LC>UC ( c -- )
DUP 96 128 WITHIN 32 AND - ;

: BANNER ( a n -- )
BOUNDS 8 0
DO CR 2DUP
?DO I C@ 127 AND LC>UC 32 -
8 * CHAR-MATRIX + J + C@
7 0
DO DUP I BIT
IF [CHAR] #
ELSE BL
THEN EMIT
LOOP DROP
LOOP
LOOP 2DROP ;

: DEMO ( --- ) \ print demonstration message
CR
" WELCOME" BANNER
" TO F-PC" BANNER
CR
" BANNER" BANNER
" PROGRAM" BANNER
" FROM F83X" BANNER ;
DEMO

---8<---

> No problem with Basic, I have been using VBA and VBS for the last 20 years. In fact some of the VBS entries in Rosetta Code are mine.
> I'm wrong or uBasic is programmed in Forth?
Yeah, it's written in 4tH. I started out with a (somewhat flawed) C framework,
ironed out the bugs, made a few additions (like <, =, > and # work like operators,
do a computed GOTO) and then added an array, a stack, an extended FOR..NEXT,
functions, user defined functions, local variables, strings, files and error handling.

In the meanwhile I've incorporated so many 4tH stuff it's practically impossible to
backport the whole shebang back to its C roots.

The fun part for me was that I never tried to emulate the traditional constructs. E.g.
DO.. LOOP is essentially FOR..NEXT with a few extensions. There are no dedicated
string variables. If you assign a string to a variable, it simply stores its address with
an additional flag. Parameters to functions are passed using the user stack.. DIM a(10)
doesn't create a new array, it just partitions the (single) existing array. And so on.

It makes for a very quirky language, but it's quite capable. It is, of course, limited by
its restrictions. E.g. the Damm algorithm can be expressed surprisingly compact:
https://www.rosettacode.org/wiki/Damm_algorithm#uBasic/4tH

The source code is here: https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/ubasic.4th

Don't try to port it - unless you got tons of time and patience - it heavily depends
on 4tH and it's libs.

Hans Bezemer

Re: Big lettering

<7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24801&group=comp.lang.forth#24801

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5a14:0:b0:656:1991:53b0 with SMTP id ei20-20020ad45a14000000b00656199153b0mr75910qvb.0.1696531643209;
Thu, 05 Oct 2023 11:47:23 -0700 (PDT)
X-Received: by 2002:a05:6830:3449:b0:6c0:9498:7a86 with SMTP id
b9-20020a056830344900b006c094987a86mr1898696otu.7.1696531642849; Thu, 05 Oct
2023 11:47:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 5 Oct 2023 11:47:22 -0700 (PDT)
In-Reply-To: <83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.36.198.233; posting-account=YrYQiQoAAAB3ECk4vm4OgA6KUu5AcEY0
NNTP-Posting-Host: 68.36.198.233
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
Subject: Re: Big lettering
From: dhoffman888@gmail.com (Doug Hoffman)
Injection-Date: Thu, 05 Oct 2023 18:47:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2261
 by: Doug Hoffman - Thu, 5 Oct 2023 18:47 UTC

On Thursday, October 5, 2023 at 12:19:56 PM UTC-4, Hans Bezemer wrote:

> CR
> " WELCOME" BANNER
> " TO F-PC" BANNER
> CR
> " BANNER" BANNER
> " PROGRAM" BANNER
> " FROM F83X" BANNER ;

Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]
and then it will compile and run on Gforth 0.7.3

The unsophisticated output reminds me of when
I was a first year student at the university (1972) and
someone had written a Fortran program to print a
"picture" of a centerfold. The picture was less than
satisfactory but perhaps made for an interesting
programming exercise for someone. :-)

-Doug

Re: Big lettering

<07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24805&group=comp.lang.forth#24805

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:3388:b0:65b:c47:10dc with SMTP id mv8-20020a056214338800b0065b0c4710dcmr33561qvb.3.1696539371696;
Thu, 05 Oct 2023 13:56:11 -0700 (PDT)
X-Received: by 2002:a05:6808:19a9:b0:3ae:61f:335e with SMTP id
bj41-20020a05680819a900b003ae061f335emr3398751oib.5.1696539371517; Thu, 05
Oct 2023 13:56:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.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.forth
Date: Thu, 5 Oct 2023 13:56:10 -0700 (PDT)
In-Reply-To: <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com> <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Thu, 05 Oct 2023 20:56:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Hans Bezemer - Thu, 5 Oct 2023 20:56 UTC

On Thursday, October 5, 2023 at 8:47:24 PM UTC+2, Doug Hoffman wrote:
> On Thursday, October 5, 2023 at 12:19:56 PM UTC-4, Hans Bezemer wrote:
>
> > CR
> > " WELCOME" BANNER
> > " TO F-PC" BANNER
> > CR
> > " BANNER" BANNER
> > " PROGRAM" BANNER
> > " FROM F83X" BANNER ;
> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]
> and then it will compile and run on Gforth 0.7.3
Oops, sorry - forgot that one!

I ran it on Gforth 0.7.9_20230726. Second conversion - thought I
caught them all, but forgot that one. Thx, Doug!

Hans Bezemer

Re: Big lettering

<ufno8t$1b7e6$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24808&group=comp.lang.forth#24808

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
Date: Fri, 6 Oct 2023 12:35:26 +1100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ufno8t$1b7e6$1@dont-email.me>
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me>
<7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>
<uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
<17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
<517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
<7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
<07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 Oct 2023 01:35:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="284c920277124f80868262164a9810fd";
logging-data="1416646"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+soeJoguMWf8865jKNcVEE"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LWt2z7q/FWJEfLNAUqceFMlwobk=
Content-Language: en-GB
In-Reply-To: <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
 by: dxf - Fri, 6 Oct 2023 01:35 UTC

On 6/10/2023 7:56 am, Hans Bezemer wrote:
> On Thursday, October 5, 2023 at 8:47:24 PM UTC+2, Doug Hoffman wrote:
>> On Thursday, October 5, 2023 at 12:19:56 PM UTC-4, Hans Bezemer wrote:
>>
>>> CR
>>> " WELCOME" BANNER
>>> " TO F-PC" BANNER
>>> CR
>>> " BANNER" BANNER
>>> " PROGRAM" BANNER
>>> " FROM F83X" BANNER ;
>> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]
>> and then it will compile and run on Gforth 0.7.3
> Oops, sorry - forgot that one!
>
> I ran it on Gforth 0.7.9_20230726. Second conversion - thought I
> caught them all, but forgot that one. Thx, Doug!

Not just pre-ANS forths that present conversion problems. Differences
between "standard systems" has become pathological - and growing.
Forth has what it likes to call 'a minimal standard' - which is akin
to 'having your cake and eating it too'.

Re: Big lettering

<5e05b95f-09e5-47d5-b451-ffef1f4a474an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24809&group=comp.lang.forth#24809

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1188:b0:40f:f22c:2a3b with SMTP id m8-20020a05622a118800b0040ff22c2a3bmr100413qtk.3.1696588972997;
Fri, 06 Oct 2023 03:42:52 -0700 (PDT)
X-Received: by 2002:a05:6808:2382:b0:3a7:2434:615a with SMTP id
bp2-20020a056808238200b003a72434615amr4087528oib.4.1696588972760; Fri, 06 Oct
2023 03:42:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Fri, 6 Oct 2023 03:42:52 -0700 (PDT)
In-Reply-To: <ufno8t$1b7e6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com> <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
<07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com> <ufno8t$1b7e6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5e05b95f-09e5-47d5-b451-ffef1f4a474an@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Fri, 06 Oct 2023 10:42:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4157
 by: Hans Bezemer - Fri, 6 Oct 2023 10:42 UTC

On Friday, October 6, 2023 at 3:35:29 AM UTC+2, dxf wrote:
> Not just pre-ANS forths that present conversion problems. Differences
> between "standard systems" has become pathological - and growing.
> Forth has what it likes to call 'a minimal standard' - which is akin
> to 'having your cake and eating it too'.

Guilty as charged! Now this is one I ported WAY back - when 4tH was still
lacking certain features (like C,), so nowadays I'd stay much closer to the
original.

But still - as a library I don't want any ANS Forth concessions - I want it to be
pure 4tH. The user doesn't want or need any conversion layers because of
source purity that will merely cost him speed and bloat.

Sometimes I will add these layers to converted application programs for
either compliance reasons - or because I just want to get the job done as
quickly and securely as possible.

I rarely have these considerations when writing new 4tH application programs.
With libraries - sometimes. I just want a working program, most often because
I need it (e.g. for work). Maintainability is then a much more prevalent issue than
portability.

So, although these choices for non-portable code are conscious and deliberate,
I (and others) are still creating non-portable code.

We also have to be aware that there are areas that lack standardization - and
unjustly so. Take strings (we still can't store or retrieve them in an abstract way)
or command line arguments. Take well-established COMUS words. That certainly
doesn't help. For object orientation it's too late - that train has passed the station
for a long time.

Controversies don't help either. Take DO..LOOP or LOCALs. Personal preferences
don't help either. I still find programs posted on c.l.f with words outside ANS, 20xx
or COMUS - which you only find in one or two Forth compilers.

There are lots of reasons why Forth standards fail. In some sense, it's like the
BASICs in the 1980s. Yes, there was some common ground, but it was near
impossible to make a non-trivial C64 BASIC program run on a ZX Spectrum. Gee,
even porting ZX81 BASIC to ZX Spectrum BASIC required a LOT of expertise (I
did it several times, but sometimes needed some additional assembly).

So it's not new - and not restricted to Forth. It's just annoying at times.

Hans Bezemer

Re: Big lettering

<2023Oct6.132456@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24811&group=comp.lang.forth#24811

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
Date: Fri, 06 Oct 2023 11:24:56 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 18
Message-ID: <2023Oct6.132456@mips.complang.tuwien.ac.at>
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me> <548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com> <295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com> <83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com> <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com> <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
Injection-Info: dont-email.me; posting-host="48cad710f3876c1282146e21676d289a";
logging-data="1604843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kEzolelzSALv2XbS52RqH"
Cancel-Lock: sha1:qu03k1+3CAQMcf3beW6cgwH0F7g=
X-newsreader: xrn 10.11
 by: Anton Ertl - Fri, 6 Oct 2023 11:24 UTC

Hans Bezemer <the.beez.speaks@gmail.com> writes:
>On Thursday, October 5, 2023 at 8:47:24=E2=80=AFPM UTC+2, Doug Hoffman wrot=
>e:
>> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]=20
>> and then it will compile and run on Gforth 0.7.3=20
>Oops, sorry - forgot that one!
>
>I ran it on Gforth 0.7.9_20230726.

Note that in recent Gforth snapshots S" WELCOME" is equivalent to
"WELCOME", not " WELCOME".

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2023: https://euro.theforth.net/2023

Re: Big lettering

<nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24813&group=comp.lang.forth#24813

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com> <7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com> <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com> <2023Oct6.132456@mips.complang.tuwien.ac.at>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c>
Organization: KPN B.V.
Date: Fri, 06 Oct 2023 13:36:56 +0200
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 28
Injection-Date: Fri, 06 Oct 2023 13:36:56 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1805
 by: none - Fri, 6 Oct 2023 11:36 UTC

In article <2023Oct6.132456@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>Hans Bezemer <the.beez.speaks@gmail.com> writes:
>>On Thursday, October 5, 2023 at 8:47:24=E2=80=AFPM UTC+2, Doug Hoffman wrot=
>>e:
>>> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]=20
>>> and then it will compile and run on Gforth 0.7.3=20
>>Oops, sorry - forgot that one!
>>
>>I ran it on Gforth 0.7.9_20230726.
>
>Note that in recent Gforth snapshots S" WELCOME" is equivalent to
>"WELCOME", not " WELCOME".

I urge everybody to add normal-looking strings like "WELCOME" with
unrestricted life span to their Forths. We have a million fold
progress in storage space since Forth began.

>
>- anton

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -

Re: Big lettering

<f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24815&group=comp.lang.forth#24815

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:4d54:0:b0:65b:21a:ca64 with SMTP id m20-20020ad44d54000000b0065b021aca64mr111120qvm.7.1696601786861;
Fri, 06 Oct 2023 07:16:26 -0700 (PDT)
X-Received: by 2002:a4a:e1a4:0:b0:571:9ccb:f90a with SMTP id
4-20020a4ae1a4000000b005719ccbf90amr1874197ooy.1.1696601786628; Fri, 06 Oct
2023 07:16:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Fri, 6 Oct 2023 07:16:26 -0700 (PDT)
In-Reply-To: <nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f1d:b5b4:1c7c:4533:83a4:94bc;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f1d:b5b4:1c7c:4533:83a4:94bc
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com> <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
<2023Oct6.132456@mips.complang.tuwien.ac.at> <nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com>
Subject: Re: Big lettering
From: minforth@arcor.de (minforth)
Injection-Date: Fri, 06 Oct 2023 14:16:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2399
 by: minforth - Fri, 6 Oct 2023 14:16 UTC

none albert schrieb am Freitag, 6. Oktober 2023 um 13:37:00 UTC+2:
> In article <2023Oct...@mips.complang.tuwien.ac.at>,
> Anton Ertl <an...@mips.complang.tuwien.ac.at> wrote:
> >Hans Bezemer <the.bee...@gmail.com> writes:
> >>On Thursday, October 5, 2023 at 8:47:24=E2=80=AFPM UTC+2, Doug Hoffman wrot=
> >>e:
> >>> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]=20
> >>> and then it will compile and run on Gforth 0.7.3=20
> >>Oops, sorry - forgot that one!
> >>
> >>I ran it on Gforth 0.7.9_20230726.
> >
> >Note that in recent Gforth snapshots S" WELCOME" is equivalent to
> >"WELCOME", not " WELCOME".
> I urge everybody to add normal-looking strings like "WELCOME" with
> unrestricted life span to their Forths. We have a million fold
> progress in storage space since Forth began.

Using since decades:
"STRING" with embeddable ' apostrophes, or equivalent
'STRING' with embeddable " quotes
(but single 'c' means char c as expected)

Re: Big lettering

<bbda3120-5830-48e9-b91b-08f2f4798566n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24818&group=comp.lang.forth#24818

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1a95:b0:418:2137:2e74 with SMTP id s21-20020a05622a1a9500b0041821372e74mr122060qtc.3.1696616212111;
Fri, 06 Oct 2023 11:16:52 -0700 (PDT)
X-Received: by 2002:a05:6808:218d:b0:3ae:15b6:3292 with SMTP id
be13-20020a056808218d00b003ae15b63292mr4726470oib.4.1696616211883; Fri, 06
Oct 2023 11:16:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Fri, 6 Oct 2023 11:16:51 -0700 (PDT)
In-Reply-To: <2023Oct6.132456@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<uffiqs$35tjc$1@dont-email.me> <548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
<17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com> <295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
<517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com> <83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
<7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com> <07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
<2023Oct6.132456@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bbda3120-5830-48e9-b91b-08f2f4798566n@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Fri, 06 Oct 2023 18:16:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2561
 by: Hans Bezemer - Fri, 6 Oct 2023 18:16 UTC

On Friday, October 6, 2023 at 1:26:47 PM UTC+2, Anton Ertl wrote:
> Hans Bezemer <the.bee...@gmail.com> writes:
> >On Thursday, October 5, 2023 at 8:47:24=E2=80=AFPM UTC+2, Doug Hoffman wrot=
> >e:
> >> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]=20
> >> and then it will compile and run on Gforth 0.7.3=20
> >Oops, sorry - forgot that one!
> >
> >I ran it on Gforth 0.7.9_20230726.
> Note that in recent Gforth snapshots S" WELCOME" is equivalent to
> "WELCOME", not " WELCOME".
>
> - anton
> --
> M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
> comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
> New standard: https://forth-standard.org/
> EuroForth 2023: https://euro.theforth.net/2023
I was looking out for errors, not (huge) superfluous spaces - so I missed that one.

Hans Bezemer

Re: Big lettering

<ufqfaa$24pbr$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24819&group=comp.lang.forth#24819

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: Big lettering
Date: Sat, 7 Oct 2023 13:20:58 +1100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ufqfaa$24pbr$1@dont-email.me>
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me>
<7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com>
<uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com>
<17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com>
<517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
<7883084d-1dbf-4b67-b40d-f57e045f8b10n@googlegroups.com>
<07728a2f-7314-4ce3-aea7-f65a7435402cn@googlegroups.com>
<ufno8t$1b7e6$1@dont-email.me>
<5e05b95f-09e5-47d5-b451-ffef1f4a474an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 7 Oct 2023 02:20:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a977dede8ae30c5c09dc8997393950af";
logging-data="2254203"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NikT41/tkn+BCQC4BYoi3"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:i/Ysl1f45ecOtGl9mIOLI8apELc=
Content-Language: en-GB
In-Reply-To: <5e05b95f-09e5-47d5-b451-ffef1f4a474an@googlegroups.com>
 by: dxf - Sat, 7 Oct 2023 02:20 UTC

On 6/10/2023 9:42 pm, Hans Bezemer wrote:
>
> There are lots of reasons why Forth standards fail. In some sense, it's like the
> BASICs in the 1980s. Yes, there was some common ground, but it was near
> impossible to make a non-trivial C64 BASIC program run on a ZX Spectrum. Gee,
> even porting ZX81 BASIC to ZX Spectrum BASIC required a LOT of expertise (I
> did it several times, but sometimes needed some additional assembly).
>
> So it's not new - and not restricted to Forth. It's just annoying at times.

I don't recall much talk of a 'Standard BASIC'. Back then folks purchased machines
based on features - not portability. As BASIC was built-in there was an expectation
those machine features would be supported. Commodore BASIC 2 provided on the C64
was an enormous disappointment to users who were expecting something more comprehensive.
Similar disappointment has run through the Forth standards. Folks felt they got less
than what they were expecting. To add insult to injury the wording was such that it
allowed for difference - sometimes substantial.

If language standards came with a user-satisfaction rating, I suspect Forth's wouldn't
do so well. In contrast I do sense support for individual forth systems - the 4tH's,
8th's and so on. Moore said he couldn't vote on matters of truth and beauty. If one
is looking for a standard, that's not a bad one!

Re: Big lettering

<nnd$1c5beb41$6e4dedec@15ce632e4fad2de0>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24823&group=comp.lang.forth#24823

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com> <2023Oct6.132456@mips.complang.tuwien.ac.at> <nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c> <f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com>
Subject: Re: Big lettering
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$1c5beb41$6e4dedec@15ce632e4fad2de0>
Organization: KPN B.V.
Date: Sat, 07 Oct 2023 12:36:47 +0200
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 49
Injection-Date: Sat, 07 Oct 2023 12:36:47 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2920
 by: none - Sat, 7 Oct 2023 10:36 UTC

In article <f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com>,
minforth <minforth@arcor.de> wrote:
>none albert schrieb am Freitag, 6. Oktober 2023 um 13:37:00 UTC+2:
>> In article <2023Oct...@mips.complang.tuwien.ac.at>,
>> Anton Ertl <an...@mips.complang.tuwien.ac.at> wrote:
>> >Hans Bezemer <the.bee...@gmail.com> writes:
>> >>On Thursday, October 5, 2023 at 8:47:24=E2=80=AFPM UTC+2, Doug Hoffman wrot=
>> >>e:
>> >>> Replace, e.,g., [ " WELCOME" ] with [ s" WELCOME" ]=20
>> >>> and then it will compile and run on Gforth 0.7.3=20
>> >>Oops, sorry - forgot that one!
>> >>
>> >>I ran it on Gforth 0.7.9_20230726.
>> >
>> >Note that in recent Gforth snapshots S" WELCOME" is equivalent to
>> >"WELCOME", not " WELCOME".
>> I urge everybody to add normal-looking strings like "WELCOME" with
>> unrestricted life span to their Forths. We have a million fold
>> progress in storage space since Forth began.
>
>Using since decades:
>"STRING" with embeddable ' apostrophes, or equivalent
>'STRING' with embeddable " quotes
>(but single 'c' means char c as expected)

I adopted the convention of algol 68. The convention with then
single, then double is silly. You still don't be able to have
single and double quotes in the same string.
The Forth 2012 is reasonable, but it goes for escapes.
Almost all languages do that but then the escape conventions
are different.
The best way is to have a single simple string denotation like mine
and then
"ksjdl lk whatever ,. ,. ." $>forth2012
"ksjdl lk whatever ,. ,. ." $>perl
"ksjdl lk whatever ,. ,. ." $>c
"ksjdl lk whatever ,. ,. ." $>clojure
"ksjdl lk whatever ,. ,. ." $>chinese

I like this better, because I can leave out conversions hat
I don't need, probably all of them.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -

Re: Big lettering

<2f9687ed-7cf8-4057-9922-9bd613e58062n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24825&group=comp.lang.forth#24825

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:25b:b0:774:1003:2bbb with SMTP id q27-20020a05620a025b00b0077410032bbbmr153228qkn.3.1696678074191;
Sat, 07 Oct 2023 04:27:54 -0700 (PDT)
X-Received: by 2002:a4a:5554:0:b0:57b:eecc:98fd with SMTP id
e81-20020a4a5554000000b0057beecc98fdmr4642819oob.0.1696678073950; Sat, 07 Oct
2023 04:27:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 7 Oct 2023 04:27:53 -0700 (PDT)
In-Reply-To: <nnd$1c5beb41$6e4dedec@15ce632e4fad2de0>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f1d:b5bd:7d0d:3012:9eb1:8e46;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f1d:b5bd:7d0d:3012:9eb1:8e46
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<2023Oct6.132456@mips.complang.tuwien.ac.at> <nnd$53d6fb42$7f0b3519@0ff7c00de4ccee1c>
<f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com> <nnd$1c5beb41$6e4dedec@15ce632e4fad2de0>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f9687ed-7cf8-4057-9922-9bd613e58062n@googlegroups.com>
Subject: Re: Big lettering
From: minforth@arcor.de (minforth)
Injection-Date: Sat, 07 Oct 2023 11:27:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2078
 by: minforth - Sat, 7 Oct 2023 11:27 UTC

none albert schrieb am Samstag, 7. Oktober 2023 um 12:36:51 UTC+2:
> In article <f3b587e2-982f-4726...@googlegroups.com>,
> minforth <minf...@arcor.de> wrote:
> >Using since decades:
> >"STRING" with embeddable ' apostrophes, or equivalent
> >'STRING' with embeddable " quotes
> >(but single 'c' means char c as expected)
>
> I adopted the convention of algol 68. The convention with then
> single, then double is silly. You still don't be able to have
> single and double quotes in the same string.

Call it silly, but it is as simple as can be, without parsing for escape characters
and string conversion while eliminating the escape backslash.

But then I never had to work with strings that contained both ' and ".
Lucky me. ;-)

Re: Big lettering

<nnd$30cefb23$245ff6fd@6ecae271f38e7093>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24828&group=comp.lang.forth#24828

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com> <f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com> <nnd$1c5beb41$6e4dedec@15ce632e4fad2de0> <2f9687ed-7cf8-4057-9922-9bd613e58062n@googlegroups.com>
Subject: Re: Big lettering
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$30cefb23$245ff6fd@6ecae271f38e7093>
Organization: KPN B.V.
Date: Sat, 07 Oct 2023 15:07:26 +0200
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 39
Injection-Date: Sat, 07 Oct 2023 15:07:26 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2348
 by: none - Sat, 7 Oct 2023 13:07 UTC

In article <2f9687ed-7cf8-4057-9922-9bd613e58062n@googlegroups.com>,
minforth <minforth@arcor.de> wrote:
>none albert schrieb am Samstag, 7. Oktober 2023 um 12:36:51 UTC+2:
>> In article <f3b587e2-982f-4726...@googlegroups.com>,
>> minforth <minf...@arcor.de> wrote:
>> >Using since decades:
>> >"STRING" with embeddable ' apostrophes, or equivalent
>> >'STRING' with embeddable " quotes
>> >(but single 'c' means char c as expected)
>>
>> I adopted the convention of algol 68. The convention with then
>> single, then double is silly. You still don't be able to have
>> single and double quotes in the same string.
>
>Call it silly, but it is as simple as can be, without parsing for escape characters
>and string conversion while eliminating the escape backslash.

Doubling convention is likewise simple. Parse until ". The following char
should be a blank, give an error message. In the case it is a " ,
parse until " and append.

I don't like the triple function of ' (xt , char denotation, string
denotation).
In my own programs I use &A instead of 'A' .

>
>But then I never had to work with strings that contained both ' and ".
>Lucky me. ;-)

You must admit, that you have never thought of it. That is the situation
that makes debugging hard.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -

Re: Big lettering

<087de9e8-e953-452e-a54a-20b6d432b331n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24830&group=comp.lang.forth#24830

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:398d:b0:66a:f6a8:6aea with SMTP id ny13-20020a056214398d00b0066af6a86aeamr71428qvb.12.1696686413309;
Sat, 07 Oct 2023 06:46:53 -0700 (PDT)
X-Received: by 2002:a9d:7988:0:b0:6bd:c80d:2b65 with SMTP id
h8-20020a9d7988000000b006bdc80d2b65mr3337457otm.6.1696686413083; Sat, 07 Oct
2023 06:46:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 7 Oct 2023 06:46:52 -0700 (PDT)
In-Reply-To: <nnd$30cefb23$245ff6fd@6ecae271f38e7093>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<f3b587e2-982f-4726-8f22-adb22ad12a46n@googlegroups.com> <nnd$1c5beb41$6e4dedec@15ce632e4fad2de0>
<2f9687ed-7cf8-4057-9922-9bd613e58062n@googlegroups.com> <nnd$30cefb23$245ff6fd@6ecae271f38e7093>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <087de9e8-e953-452e-a54a-20b6d432b331n@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Sat, 07 Oct 2023 13:46:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2186
 by: Hans Bezemer - Sat, 7 Oct 2023 13:46 UTC

On Saturday, October 7, 2023 at 3:07:30 PM UTC+2, none albert wrote:
> >Call it silly, but it is as simple as can be, without parsing for escape characters
> >and string conversion while eliminating the escape backslash.
> Doubling convention is likewise simple. Parse until ". The following char
> should be a blank, give an error message. In the case it is a " ,
> parse until " and append.
I used that trick in my parsing library: https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/lib/parsing.4th
If it's not followed by a blank, parse again. I use this lib quite extensively for work.
It has served me well for many years.

I cannot do this trick within 4tH, since the tokenizer is (in that regard)
very simple. It can parse for a given delimiter, but that's it.

Hans Bezemer

Re: Big lettering

<e2634abc-8beb-4473-bf26-f512b346f0e8n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24831&group=comp.lang.forth#24831

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:3d0c:b0:775:78bb:5e8e with SMTP id tq12-20020a05620a3d0c00b0077578bb5e8emr128833qkn.5.1696686897345;
Sat, 07 Oct 2023 06:54:57 -0700 (PDT)
X-Received: by 2002:a05:6870:5a96:b0:1e1:921:d3da with SMTP id
dt22-20020a0568705a9600b001e10921d3damr4437424oab.1.1696686897146; Sat, 07
Oct 2023 06:54:57 -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.forth
Date: Sat, 7 Oct 2023 06:54:56 -0700 (PDT)
In-Reply-To: <83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <683b0852-87b1-42ee-a203-b8dba9f5467dn@googlegroups.com>
<ufd275$2ii5g$2@dont-email.me> <7e4d2eb2-3fac-46d5-8489-b0284139efc2n@googlegroups.com>
<a3ba0f31-1483-44e7-9ffd-a65816176cdbn@googlegroups.com> <uffiqs$35tjc$1@dont-email.me>
<548f235e-a406-46e5-b5c0-4b7908c9ad72n@googlegroups.com> <17b1b4d2-b4a2-4a68-b0b8-eeab029a9ba1n@googlegroups.com>
<295f2e79-030d-48eb-bbd8-f514909395bfn@googlegroups.com> <517342e6-11be-46cf-9ad8-cffe0f2a5bf3n@googlegroups.com>
<83de54ee-6382-4a5d-b988-aad47d5af479n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e2634abc-8beb-4473-bf26-f512b346f0e8n@googlegroups.com>
Subject: Re: Big lettering
From: the.beez.speaks@gmail.com (Hans Bezemer)
Injection-Date: Sat, 07 Oct 2023 13:54:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Hans Bezemer - Sat, 7 Oct 2023 13:54 UTC

On Thursday, October 5, 2023 at 6:19:56 PM UTC+2, Hans Bezemer wrote:
> On Thursday, October 5, 2023 at 8:47:37 AM UTC+2, Antoni Gual Via wrote:
> > Hello Hans
> > I tried to run the banner library but it had some words specific to 4th, I will have to install it.
> No, you don't. I nicked the original from F-PC (much easier to adapt). So here it is. It does the same.
> It's tested on Gforth and runs just fine.

I just reported the original Tom Zimmer source and this time it was much easier. I just had to cater
for BIT (a well formed flag in 4tH is 1, not -1, but why Tom Zimmer chose that construct, I dunno.
The routine doesn't need a 1 or 0, any set of bits will do) and convert the CREATE to OFFSET. A
defined OFFSET does its own indexing, so adding it to the address is not required:

: OFFSET CREATE DOES> SWAP CHARS + C@ ;

And after that, it ran flawlessly. Since I converted this lib (must have been in the early noughties) a
lot of features have been added to 4tH, so now conversion was much, much easier.

Hans Bezemer

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor