Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You will never amount to much. -- Munich Schoolmaster, to Albert Einstein, age 10


devel / comp.lang.forth / FigForth vocabularies and immediacy

SubjectAuthor
* FigForth vocabularies and immediacydxforth
+- Re: FigForth vocabularies and immediacydxforth
+* Re: FigForth vocabularies and immediacynone
|`- Re: FigForth vocabularies and immediacydxforth
+* Re: FigForth vocabularies and immediacyZbig
|+- Re: FigForth vocabularies and immediacyZbig
|`* Re: FigForth vocabularies and immediacydxforth
| `* Re: FigForth vocabularies and immediacyZbig
|  +- Re: FigForth vocabularies and immediacyS Jack
|  +* Re: FigForth vocabularies and immediacyBrian Fox
|  |+* Re: FigForth vocabularies and immediacyZbig
|  ||`- Re: FigForth vocabularies and immediacyS Jack
|  |`- Re: FigForth vocabularies and immediacydxforth
|  `* Re: FigForth vocabularies and immediacydxforth
|   `* Re: FigForth vocabularies and immediacyZbig
|    `- Re: FigForth vocabularies and immediacyS Jack
+- Re: FigForth vocabularies and immediacyS Jack
+* Re: FigForth vocabularies and immediacyMyron Plichota
|`* Re: FigForth vocabularies and immediacynone
| +* Re: FigForth vocabularies and immediacyMyron Plichota
| |`* Re: FigForth vocabularies and immediacyMyron Plichota
| | `* Re: FigForth vocabularies and immediacynone
| |  `* Re: FigForth vocabularies and immediacyminforth
| |   +* Re: FigForth vocabularies and immediacynone
| |   |`- Re: FigForth vocabularies and immediacynone
| |   `* Re: FigForth vocabularies and immediacydxforth
| |    +* Re: FigForth vocabularies and immediacyminforth
| |    |`* Re: FigForth vocabularies and immediacydxforth
| |    | `* Re: FigForth vocabularies and immediacyminforth
| |    |  +* Re: FigForth vocabularies and immediacyZbig
| |    |  |+* Re: FigForth vocabularies and immediacyminforth
| |    |  ||`* Re: FigForth vocabularies and immediacyZbig
| |    |  || `- Re: FigForth vocabularies and immediacydxforth
| |    |  |`* Re: FigForth vocabularies and immediacyAnton Ertl
| |    |  | `- Re: FigForth vocabularies and immediacydxforth
| |    |  `- Re: FigForth vocabularies and immediacyAnton Ertl
| |    `* Re: FigForth vocabularies and immediacynone
| |     `* Re: FigForth vocabularies and immediacydxforth
| |      `* Re: FigForth vocabularies and immediacynone
| |       `- Re: FigForth vocabularies and immediacydxforth
| `- Re: FigForth vocabularies and immediacydxforth
`- Re: FigForth vocabularies and immediacyZbig

Pages:12
FigForth vocabularies and immediacy

<uc6jpn$3a4h7$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: FigForth vocabularies and immediacy
Date: Thu, 24 Aug 2023 13:46:00 +1000
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <uc6jpn$3a4h7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 24 Aug 2023 03:46:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="693183c1ccee9ee2067c2621f723a2cd";
logging-data="3478055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TB6wDJB2dFP6Grczbo/Oq"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:sZ0lUsF2FS+eB5EnrwMaJX2Z1LI=
Content-Language: en-GB
 by: dxforth - Thu, 24 Aug 2023 03:46 UTC

The stated convention in FigForth is for the user to make vocabularies
immediate. Don't know if this was a Fig thing - or derived from
practice at the time. Under FigForth vocabularies automatically chain
to the parent.

Long story short I went back to the FigForth vocabulary scheme. The only
departure was chaining. It's not automatic - the user must specify it.

For any FigForth (or variants thereof) users out there, do you use the
immediate vocab convention? At the moment I'm reviewing whether I should
just make vocabs immediate on creation. Not being a fan of vocabularies
I don't use them much. Hence the question.

Re: FigForth vocabularies and immediacy

<uc6q55$3bab6$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Thu, 24 Aug 2023 15:34:30 +1000
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uc6q55$3bab6$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 24 Aug 2023 05:34:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="693183c1ccee9ee2067c2621f723a2cd";
logging-data="3516774"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hqsGJSIhGn+fvIM34VY0b"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:gcma6NGDUCIVTNEHErghvj4jjns=
In-Reply-To: <uc6jpn$3a4h7$1@dont-email.me>
Content-Language: en-GB
 by: dxforth - Thu, 24 Aug 2023 05:34 UTC

On 24/08/2023 1:46 pm, dxforth wrote:
> The stated convention in FigForth is for the user to make vocabularies
> immediate. Don't know if this was a Fig thing - or derived from
> practice at the time. Under FigForth vocabularies automatically chain
> to the parent.
>
> Long story short I went back to the FigForth vocabulary scheme. The only
> departure was chaining. It's not automatic - the user must specify it.
>
> For any FigForth (or variants thereof) users out there, do you use the
> immediate vocab convention? At the moment I'm reviewing whether I should
> just make vocabs immediate on creation. Not being a fan of vocabularies
> I don't use them much. Hence the question.

Thinking about it such a change is likely to create more problems than
it solves. IMMEDIATE in FigForth is a toggle. Thus if I encountered
Fig code such as:

VOCABULARY FOOBAR IMMEDIATE

the result would be the exact opposite. So I'll scrap that idea.

OTOH there's the question of whether a non-IMMEDIATE vocabulary is ever
*necessary*. AFAICS it's a preference and boils down to which one does
more: execute a vocab name - or compile it.

Re: FigForth vocabularies and immediacy

<nnd$5f29a5ba$5cfb58bd@e78bcb68ec4445d4>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
References: <uc6jpn$3a4h7$1@dont-email.me>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$5f29a5ba$5cfb58bd@e78bcb68ec4445d4>
Organization: KPN B.V.
Date: Thu, 24 Aug 2023 09:57:02 +0200
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.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: 28
Injection-Date: Thu, 24 Aug 2023 09:57:02 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2078
 by: none - Thu, 24 Aug 2023 07:57 UTC

In article <uc6jpn$3a4h7$1@dont-email.me>, dxforth <dxforth@gmail.com> wrote:
>The stated convention in FigForth is for the user to make vocabularies
>immediate. Don't know if this was a Fig thing - or derived from
>practice at the time. Under FigForth vocabularies automatically chain
>to the parent.
>
>Long story short I went back to the FigForth vocabulary scheme. The only
>departure was chaining. It's not automatic - the user must specify it.
>
>For any FigForth (or variants thereof) users out there, do you use the
>immediate vocab convention? At the moment I'm reviewing whether I should
>just make vocabs immediate on creation. Not being a fan of vocabularies
>I don't use them much. Hence the question.

It is not a good idea to refurbish partially.
The Fig vocabularies are usable, and so is the ISO wordlists.
The chaining of Fig is the equivalent functionality of the search-order.
Dropping the chaining you miss on functionality without good reason,
but at least you leave it as an option.

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: FigForth vocabularies and immediacy

<9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:199d:b0:410:92f3:8ef9 with SMTP id u29-20020a05622a199d00b0041092f38ef9mr162499qtc.7.1692866567227;
Thu, 24 Aug 2023 01:42:47 -0700 (PDT)
X-Received: by 2002:a63:291b:0:b0:565:eb0b:37b3 with SMTP id
bt27-20020a63291b000000b00565eb0b37b3mr3080373pgb.0.1692866566861; Thu, 24
Aug 2023 01:42:46 -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: Thu, 24 Aug 2023 01:42:46 -0700 (PDT)
In-Reply-To: <uc6jpn$3a4h7$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
References: <uc6jpn$3a4h7$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Thu, 24 Aug 2023 08:42:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Zbig - Thu, 24 Aug 2023 08:42 UTC

> For any FigForth (or variants thereof) users out there, do you use the
> immediate vocab convention? At the moment I'm reviewing whether I should
> just make vocabs immediate on creation.

There is hardly any use for non-immediate vocabularies, but AFAIK
the „classic” approach is to leave that decision to the user. So it's
up to him to type VOCABULARY MYVOC IMMEDIATE — or to skip
that „IMMEDIATE” for a particular reason.

Re: FigForth vocabularies and immediacy

<95ed9246-e776-4416-97f0-d29fb0a7cd6dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:551e:0:b0:63f:d7bd:a835 with SMTP id pz30-20020ad4551e000000b0063fd7bda835mr169037qvb.10.1692866816039;
Thu, 24 Aug 2023 01:46:56 -0700 (PDT)
X-Received: by 2002:a17:902:fb03:b0:1bb:8c42:79f4 with SMTP id
le3-20020a170902fb0300b001bb8c4279f4mr5438304plb.2.1692866815581; Thu, 24 Aug
2023 01:46:55 -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, 24 Aug 2023 01:46:54 -0700 (PDT)
In-Reply-To: <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <95ed9246-e776-4416-97f0-d29fb0a7cd6dn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Thu, 24 Aug 2023 08:46:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1280
 by: Zbig - Thu, 24 Aug 2023 08:46 UTC

„Hardly any” — during word's creation, of course. :)

Re: FigForth vocabularies and immediacy

<uc7j76$3fgo3$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Thu, 24 Aug 2023 22:42:14 +1000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uc7j76$3fgo3$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
<9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 24 Aug 2023 12:42:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="693183c1ccee9ee2067c2621f723a2cd";
logging-data="3654403"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N1IkvLqp83bPuzYI8zCAx"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:im4EcBHIQpqT6jmQaCVkZ5OapHY=
In-Reply-To: <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
Content-Language: en-GB
 by: dxforth - Thu, 24 Aug 2023 12:42 UTC

On 24/08/2023 6:42 pm, Zbig wrote:
>> For any FigForth (or variants thereof) users out there, do you use the
>> immediate vocab convention? At the moment I'm reviewing whether I should
>> just make vocabs immediate on creation.
>
> There is hardly any use for non-immediate vocabularies, but AFAIK
> the „classic” approach is to leave that decision to the user. So it's
> up to him to type VOCABULARY MYVOC IMMEDIATE — or to skip
> that „IMMEDIATE” for a particular reason.

Immediate vocab may have been necessary due to limited search order.

Re: FigForth vocabularies and immediacy

<uc7m4c$3fntk$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Thu, 24 Aug 2023 23:31:56 +1000
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uc7m4c$3fntk$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
<nnd$5f29a5ba$5cfb58bd@e78bcb68ec4445d4>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 24 Aug 2023 13:31:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="693183c1ccee9ee2067c2621f723a2cd";
logging-data="3661748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jwl4R2wuBFBFqoy5IGHKE"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:QLgQELkagtS7dW3giJ09ob0OShY=
In-Reply-To: <nnd$5f29a5ba$5cfb58bd@e78bcb68ec4445d4>
Content-Language: en-GB
 by: dxforth - Thu, 24 Aug 2023 13:31 UTC

On 24/08/2023 5:57 pm, albert wrote:
> In article <uc6jpn$3a4h7$1@dont-email.me>, dxforth <dxforth@gmail.com> wrote:
>> The stated convention in FigForth is for the user to make vocabularies
>> immediate. Don't know if this was a Fig thing - or derived from
>> practice at the time. Under FigForth vocabularies automatically chain
>> to the parent.
>>
>> Long story short I went back to the FigForth vocabulary scheme. The only
>> departure was chaining. It's not automatic - the user must specify it.
>>
>> For any FigForth (or variants thereof) users out there, do you use the
>> immediate vocab convention? At the moment I'm reviewing whether I should
>> just make vocabs immediate on creation. Not being a fan of vocabularies
>> I don't use them much. Hence the question.
>
> It is not a good idea to refurbish partially.
> The Fig vocabularies are usable, and so is the ISO wordlists.
> The chaining of Fig is the equivalent functionality of the search-order.
> Dropping the chaining you miss on functionality without good reason,
> but at least you leave it as an option.

LMI decided they didn't need either. I chickened out.

Re: FigForth vocabularies and immediacy

<bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5a13:0:b0:63d:b79:43ab with SMTP id ei19-20020ad45a13000000b0063d0b7943abmr240440qvb.4.1692884309445;
Thu, 24 Aug 2023 06:38:29 -0700 (PDT)
X-Received: by 2002:a05:6a00:124c:b0:68a:5cf8:dadd with SMTP id
u12-20020a056a00124c00b0068a5cf8daddmr4467897pfi.4.1692884308958; Thu, 24 Aug
2023 06:38:28 -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: Thu, 24 Aug 2023 06:38:28 -0700 (PDT)
In-Reply-To: <uc7j76$3fgo3$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Thu, 24 Aug 2023 13:38:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1990
 by: Zbig - Thu, 24 Aug 2023 13:38 UTC

> > There is hardly any use for non-immediate vocabularies, but AFAIK
> > the „classic” approach is to leave that decision to the user. So it's
> > up to him to type VOCABULARY MYVOC IMMEDIATE — or to skip
> > that „IMMEDIATE” for a particular reason.
> Immediate vocab may have been necessary due to limited search order.

Very likely — but apart of this, somehow I can't imagine at the moment
any valid reason to compile the name of the vocabulary (I mean the one
created by the user) into the body of any word. Maybe there can be
„invented” one, but rather unusual.
Still I remember from trying various fig-Forths that „canonical” sequence:
VOCABULARY something IMMEDIATE

Re: FigForth vocabularies and immediacy

<926a7f41-e962-4394-bd59-071a9a8ae640n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:7f4:b0:63c:f6d5:e9e1 with SMTP id bp20-20020a05621407f400b0063cf6d5e9e1mr260556qvb.6.1692887106318;
Thu, 24 Aug 2023 07:25:06 -0700 (PDT)
X-Received: by 2002:a17:902:dace:b0:1b5:bd8:5aaa with SMTP id
q14-20020a170902dace00b001b50bd85aaamr6164487plx.1.1692887105748; Thu, 24 Aug
2023 07:25:05 -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: Thu, 24 Aug 2023 07:25:05 -0700 (PDT)
In-Reply-To: <uc6jpn$3a4h7$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:3f7a:20d0:3d51:1131:6afb:148a;
posting-account=V5nGoQoAAAC_P2U0qnxm2kC0s1jNJXJa
NNTP-Posting-Host: 2600:1700:3f7a:20d0:3d51:1131:6afb:148a
References: <uc6jpn$3a4h7$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <926a7f41-e962-4394-bd59-071a9a8ae640n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: sdwjack69@gmail.com (S Jack)
Injection-Date: Thu, 24 Aug 2023 14:25:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: S Jack - Thu, 24 Aug 2023 14:25 UTC

On Wednesday, August 23, 2023 at 10:46:03 PM UTC-5, dxforth wrote:
>
>
> For any FigForth (or variants thereof) users out there, do you use the
> immediate vocab convention?

Yes, most defiantly now. Until not long ago I never
give it much thought, used vocabularies very little
just keeping simple and putting everything in the
Forth vocabulary. Then I started using vocabularies
mainly for words to use as an operator and not to
be included in other words, e.g. use VARIABLE in
programs but VAR in the OP vocabulary only to be use
at the command line (This was analogous to the use
of aliases in Linux). When I started using them, I
found making them immediate was the thing to do. Now
this goes hand in hand with colon changing CONTEXT
to CURRENT in the start of a definition which is something
most "modern" Forths avoid, but it's part of the scheme
that works in Fig.
I now use vocabularies for other things but conservatively.
In Toad I have BUF vocabulary that contains ALLOCATE
and LIST. "BUF LIST FORTH" lists allocated buffers and
not SCRs. (Sure, could have ALLOCATED-BUFFER-LIST and
not use vocabulary but that's beside the point.)
--
me

Re: FigForth vocabularies and immediacy

<7c9985bc-b399-4f6d-9f08-e76aca3564b5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:4aed:0:b0:63c:f28e:3472 with SMTP id cp13-20020ad44aed000000b0063cf28e3472mr216085qvb.10.1692887940945;
Thu, 24 Aug 2023 07:39:00 -0700 (PDT)
X-Received: by 2002:a17:902:d4c7:b0:1bf:cc5:7b55 with SMTP id
o7-20020a170902d4c700b001bf0cc57b55mr7106199plg.0.1692887940598; Thu, 24 Aug
2023 07:39:00 -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: Thu, 24 Aug 2023 07:38:59 -0700 (PDT)
In-Reply-To: <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:3f7a:20d0:3d51:1131:6afb:148a;
posting-account=V5nGoQoAAAC_P2U0qnxm2kC0s1jNJXJa
NNTP-Posting-Host: 2600:1700:3f7a:20d0:3d51:1131:6afb:148a
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7c9985bc-b399-4f6d-9f08-e76aca3564b5n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: sdwjack69@gmail.com (S Jack)
Injection-Date: Thu, 24 Aug 2023 14:39:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1901
 by: S Jack - Thu, 24 Aug 2023 14:38 UTC

On Thursday, August 24, 2023 at 8:38:30 AM UTC-5, Zbig wrote:
> > > There is hardly any use for non-immediate vocabularies, but AFAIK
> > > the „classic” approach is to leave that decision to the user. So it's
> > > up to him to type VOCABULARY MYVOC IMMEDIATE — or to skip
> > > that „IMMEDIATE” for a particular reason.
>

In Frog:

: EDIT THISVOC [COMPILE] EDITOR ;

THISVOC saved the context when EDITOR was selected.
:X saves the edit and returns to the saved context.
--
me

Re: FigForth vocabularies and immediacy

<e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:4706:b0:76d:77d2:e754 with SMTP id bs6-20020a05620a470600b0076d77d2e754mr195321qkb.2.1692889003325;
Thu, 24 Aug 2023 07:56:43 -0700 (PDT)
X-Received: by 2002:a63:7789:0:b0:569:350a:a690 with SMTP id
s131-20020a637789000000b00569350aa690mr3261387pgc.1.1692889002828; Thu, 24
Aug 2023 07:56:42 -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: Thu, 24 Aug 2023 07:56:42 -0700 (PDT)
In-Reply-To: <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.242.210.36; posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 99.242.210.36
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: brian.fox@brianfox.ca (Brian Fox)
Injection-Date: Thu, 24 Aug 2023 14:56:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2042
 by: Brian Fox - Thu, 24 Aug 2023 14:56 UTC

On Thursday, August 24, 2023 at 9:38:30 AM UTC-4, Zbig wrote:

> Very likely — but apart of this, somehow I can't imagine at the moment
> any valid reason to compile the name of the vocabulary (I mean the one
> created by the user) into the body of any word. Maybe there can be
> „invented” one, but rather unusual.

I have used the non-immediate wordlists to create specific search order
commands for cross-compilers.
Examples:

: HOST
ONLY FORTH ALSO ASSEMBLER ALSO MFORTH ALSO FORTH DEFINITIONS ;

: ASMFORTH
ONLY FORTH ALSO ASSEMBLER ALSO MFORTH DEFINITIONS ;

Later I can make an immediate version of these if I need it.

: [HOST] HOST ; IMMEDIATE

Re: FigForth vocabularies and immediacy

<c71cdd85-1476-4528-b786-b389fad1d28en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:c4c:b0:765:a4f2:51ec with SMTP id u12-20020a05620a0c4c00b00765a4f251ecmr287297qki.4.1692889794447;
Thu, 24 Aug 2023 08:09:54 -0700 (PDT)
X-Received: by 2002:a17:902:f68f:b0:1b5:2871:cd1 with SMTP id
l15-20020a170902f68f00b001b528710cd1mr6648438plg.0.1692889794132; Thu, 24 Aug
2023 08:09:54 -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: Thu, 24 Aug 2023 08:09:53 -0700 (PDT)
In-Reply-To: <e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
<e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c71cdd85-1476-4528-b786-b389fad1d28en@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Thu, 24 Aug 2023 15:09:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1500
 by: Zbig - Thu, 24 Aug 2023 15:09 UTC

> I have used the non-immediate wordlists to create specific search order
> commands for cross-compilers.

So that's why it's better to leave that decision to the user. He may need it anyway.

Re: FigForth vocabularies and immediacy

<f66711b0-ab0f-482d-a3f9-f474de5b9e01n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:ab4:b0:649:fc3d:7659 with SMTP id ew20-20020a0562140ab400b00649fc3d7659mr195655qvb.12.1692893383558;
Thu, 24 Aug 2023 09:09:43 -0700 (PDT)
X-Received: by 2002:a05:6a00:2389:b0:687:9855:ab23 with SMTP id
f9-20020a056a00238900b006879855ab23mr9372642pfc.1.1692893383100; Thu, 24 Aug
2023 09:09:43 -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: Thu, 24 Aug 2023 09:09:42 -0700 (PDT)
In-Reply-To: <c71cdd85-1476-4528-b786-b389fad1d28en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:3f7a:20d0:4cb5:b036:3e9d:b0ae;
posting-account=V5nGoQoAAAC_P2U0qnxm2kC0s1jNJXJa
NNTP-Posting-Host: 2600:1700:3f7a:20d0:4cb5:b036:3e9d:b0ae
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
<e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com> <c71cdd85-1476-4528-b786-b389fad1d28en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f66711b0-ab0f-482d-a3f9-f474de5b9e01n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: sdwjack69@gmail.com (S Jack)
Injection-Date: Thu, 24 Aug 2023 16:09:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2423
 by: S Jack - Thu, 24 Aug 2023 16:09 UTC

On Thursday, August 24, 2023 at 10:09:55 AM UTC-5, Zbig wrote:
> > I have used the non-immediate wordlists to create specific search order
> > commands for cross-compilers.
> So that's why it's better to leave that decision to the user. He may need it anyway.
Frog example use of non-immediate vocabulary.
Aliases used when operating at command line:

00 w ( BOX )
01 w VOCABULARY BOX BOX DEFS
02 w ' BOX:SetText aka SET
03 w ' BOX:AT aka AT
04 w ' BOX:Show aka SHOW
05 w ' BOX:Hide aka HIDE
06 w ' BOX:Zip aka ZIP
07 w ' BOX:Move aka MV
08 w ' BOX:Free aka FREE
09 w ' BOX:TextNew aka TEXT
10 w ' BOX:ColorNew aka COLOR
11 w ' BOX:TitleNew aka TITLE
12 w ' BOX:ShowTitle aka -TITLE
13 w ' BOX:NoTitle aka +TITLE
14 w FORTH DEFS
15 w ;S

Have split screen with dialog box displayed in top area.
Would do operations like:

box 15 5 at show 40 10 mv zip hide 1 1 at show
--
me

Re: FigForth vocabularies and immediacy

<uc92u2$3qst8$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Fri, 25 Aug 2023 12:16:33 +1000
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uc92u2$3qst8$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
<9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me>
<bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Aug 2023 02:16:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f5636ee2c637a6cc7ce65f3caa2ab442";
logging-data="4027304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tk+KWiDwT2f5qngxXsm2q"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:FHLozK/37E/02uVnJy8D5mmFK+4=
In-Reply-To: <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
Content-Language: en-GB
 by: dxforth - Fri, 25 Aug 2023 02:16 UTC

On 24/08/2023 11:38 pm, Zbig wrote:
>>> There is hardly any use for non-immediate vocabularies, but AFAIK
>>> the „classic” approach is to leave that decision to the user. So it's
>>> up to him to type VOCABULARY MYVOC IMMEDIATE — or to skip
>>> that „IMMEDIATE” for a particular reason.
>> Immediate vocab may have been necessary due to limited search order.
>
> Very likely — but apart of this, somehow I can't imagine at the moment
> any valid reason to compile the name of the vocabulary (I mean the one
> created by the user) into the body of any word. Maybe there can be
> „invented” one, but rather unusual.

Everyday examples would be LABEL and CODE which must select the ASSEMBLER
vocab.

Re: FigForth vocabularies and immediacy

<uc956l$3re7a$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Fri, 25 Aug 2023 12:55:16 +1000
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uc956l$3re7a$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
<9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me>
<bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
<e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Aug 2023 02:55:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f5636ee2c637a6cc7ce65f3caa2ab442";
logging-data="4045034"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jm7Odc66CDWEc4rQ1d5Xa"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:Llt53YP6O89Qi5CXaCNT8L1FpjY=
In-Reply-To: <e9a15e05-96ce-45df-bf58-3d786d506b1fn@googlegroups.com>
Content-Language: en-GB
 by: dxforth - Fri, 25 Aug 2023 02:55 UTC

On 25/08/2023 12:56 am, Brian Fox wrote:
> On Thursday, August 24, 2023 at 9:38:30 AM UTC-4, Zbig wrote:
>
>> Very likely — but apart of this, somehow I can't imagine at the moment
>> any valid reason to compile the name of the vocabulary (I mean the one
>> created by the user) into the body of any word. Maybe there can be
>> „invented” one, but rather unusual.
>
> I have used the non-immediate wordlists to create specific search order
> commands for cross-compilers.
> Examples:
>
> : HOST
> ONLY FORTH ALSO ASSEMBLER ALSO MFORTH ALSO FORTH DEFINITIONS ;
>
> : ASMFORTH
> ONLY FORTH ALSO ASSEMBLER ALSO MFORTH DEFINITIONS ;
>
> Later I can make an immediate version of these if I need it.
>
> : [HOST] HOST ; IMMEDIATE

ONLY ALSO changed the dynamic. Fewer context changes meant less need
for stuff like this:

: FST fst? forth if hidden D0 5 fr, end i/r 10 fm1, ;

Re: FigForth vocabularies and immediacy

<c72b3aa5-6621-4404-a239-04b6cb5bd344n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:9d0:b0:64a:683a:2b76 with SMTP id dp16-20020a05621409d000b0064a683a2b76mr398041qvb.7.1692954754068;
Fri, 25 Aug 2023 02:12:34 -0700 (PDT)
X-Received: by 2002:a05:6214:b03:b0:649:74d0:c0ba with SMTP id
u3-20020a0562140b0300b0064974d0c0bamr433813qvj.2.1692954753832; Fri, 25 Aug
2023 02:12:33 -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, 25 Aug 2023 02:12:33 -0700 (PDT)
In-Reply-To: <uc92u2$3qst8$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
<uc92u2$3qst8$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c72b3aa5-6621-4404-a239-04b6cb5bd344n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Fri, 25 Aug 2023 09:12:34 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1412
 by: Zbig - Fri, 25 Aug 2023 09:12 UTC

> Everyday examples would be LABEL and CODE which must select the ASSEMBLER
> vocab.

Indeed CODE switches to ASSEMBLER. I forgot this one, obvious example.

Re: FigForth vocabularies and immediacy

<40ae88e4-a899-4c8c-9d61-f1c1751c8286n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:7d43:0:b0:403:a91d:bfec with SMTP id h3-20020ac87d43000000b00403a91dbfecmr632420qtb.0.1693093480221;
Sat, 26 Aug 2023 16:44:40 -0700 (PDT)
X-Received: by 2002:a05:622a:309:b0:40d:4c6:bce6 with SMTP id
q9-20020a05622a030900b0040d04c6bce6mr539424qtw.7.1693093480015; Sat, 26 Aug
2023 16:44:40 -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: Sat, 26 Aug 2023 16:44:39 -0700 (PDT)
In-Reply-To: <c72b3aa5-6621-4404-a239-04b6cb5bd344n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:3f7a:20d0:4177:ef9b:1b29:4420;
posting-account=V5nGoQoAAAC_P2U0qnxm2kC0s1jNJXJa
NNTP-Posting-Host: 2600:1700:3f7a:20d0:4177:ef9b:1b29:4420
References: <uc6jpn$3a4h7$1@dont-email.me> <9d425c95-5bf0-4c9f-868b-edc475f7658fn@googlegroups.com>
<uc7j76$3fgo3$1@dont-email.me> <bd29a6fd-bbfa-48c9-9bae-782e46b8c34bn@googlegroups.com>
<uc92u2$3qst8$1@dont-email.me> <c72b3aa5-6621-4404-a239-04b6cb5bd344n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40ae88e4-a899-4c8c-9d61-f1c1751c8286n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: sdwjack69@gmail.com (S Jack)
Injection-Date: Sat, 26 Aug 2023 23:44:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2343
 by: S Jack - Sat, 26 Aug 2023 23:44 UTC

(
Example use of immediate vocabularies FORTH and EDITOR .
Editor is fig-Forth PORTABLE EDITOR
)

"rcdg '?SCR' f/misc.f" CR /O

[r] ?SCR ( s -- )
-- Case sensitive search of each each line of each scr
-- s String to be matched
-- Move string s to PAD .
-- Search each block line of all blocks for a match.
-- If match is found, print line and block
-- number. Continue searching until blocks are exhausted.
[r] CODE ?SCR
: ?SCR ( s -- )
PAD C/L ERASE COUNT PAD PLACE
BLK_MAX @ 1+ ZERO DO FORTH I SCR !
EDITOR TOP
BEGIN 1LINE IF ZERO M SCR ? ENDIF
1023 R# @ < UNTIL
LOOP ;
--.

OK
"?FIT" ?SCR
( AHEAD RESOLVE GIVE IT -"- ?FIT_ ) 0 32
: ?FIT_ MIN ; 6 32
: /S, SMAX ?FIT_ HERE OVER 1+ ALLOT PLACE ; 10 85
EBUF @ 1- ?FIT_ R SWAP CMOVE 4 125 OK
--
me

Re: FigForth vocabularies and immediacy

<df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:55d0:0:b0:649:9ae9:2924 with SMTP id bt16-20020ad455d0000000b006499ae92924mr717905qvb.11.1693124983545;
Sun, 27 Aug 2023 01:29:43 -0700 (PDT)
X-Received: by 2002:a05:622a:19a2:b0:411:fa33:f0dd with SMTP id
u34-20020a05622a19a200b00411fa33f0ddmr575483qtc.11.1693124983375; Sun, 27 Aug
2023 01:29:43 -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, 27 Aug 2023 01:29:43 -0700 (PDT)
In-Reply-To: <uc6jpn$3a4h7$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <uc6jpn$3a4h7$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: myronplichota@gmail.com (Myron Plichota)
Injection-Date: Sun, 27 Aug 2023 08:29:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3316
 by: Myron Plichota - Sun, 27 Aug 2023 08:29 UTC

On Wednesday, August 23, 2023 at 11:46:03 PM UTC-4, dxforth wrote:
> The stated convention in FigForth is for the user to make vocabularies
> immediate. Don't know if this was a Fig thing - or derived from
> practice at the time. Under FigForth vocabularies automatically chain
> to the parent.
>
> Long story short I went back to the FigForth vocabulary scheme. The only
> departure was chaining. It's not automatic - the user must specify it.
>
> For any FigForth (or variants thereof) users out there, do you use the
> immediate vocab convention? At the moment I'm reviewing whether I should d
> just make vocabs immediate on creation. Not being a fan of vocabularies
> I don't use them much. Hence the question.

There is a subtle relationship between CURRENT and CONTEXT in traditional Forth compilers. My experience with gforth suggests that this remains true to this day. Requiring the IMMEDIATE formality as part of declaring a new VOCABULARY (e.g. forth definitions vocabulary xxx immediate xxx definitions) has worked without fail in my experience.

Furthermore, PostScript and Python3 admit similar privileges to application code, i.e. the creation of code and data in a unique namespace/dictionary. How 'bout that? Was Forth ahead of its time? I say yes.

If I recall correctly, the FigForth installation manual standard word set defined I to return a copy of the return stack (presumably holding the current do...loop index). But the standard screen editor I(nsert line) was an entirely different matter. The screen editor source code involved flipping back and forth from editor vocabulary I and forth vocabulary I meanings, but was proven to work, and became the reference screen editor in the installation manual. The forth and editor vocabularies needed to be IMMEDIATE to make the house of cards work

I can also attest to the utility of immediate vocabularies in implementing an assembler for the Intel MCS-48 MCU in days of yore.
E. g, the MOV instruction variants were handily solved by a MOV vocabulary (e. g. MOV A,T, MOV A,R7, MOV A,#FF MOV A,@R0).

Re: FigForth vocabularies and immediacy

<nnd$05c9fd9b$02d455f5@e4904aac86821e73>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uc6jpn$3a4h7$1@dont-email.me> <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$05c9fd9b$02d455f5@e4904aac86821e73>
Organization: KPN B.V.
Date: Sun, 27 Aug 2023 13:01:24 +0200
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 34
Injection-Date: Sun, 27 Aug 2023 13:01:24 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1810
 by: none - Sun, 27 Aug 2023 11:01 UTC

In article <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>,
Myron Plichota <myronplichota@gmail.com> wrote:
<SNIP>
>
>I can also attest to the utility of immediate vocabularies in
>implementing an assembler for the Intel MCS-48 MCU in days of yore.
>E. g, the MOV instruction variants were handily solved by a MOV
>vocabulary (e. g. MOV A,T, MOV A,R7, MOV A,#FF MOV A,@R0).

I can't understand why having immediate vocabularies is such a
big deal.

: doit ..... STRING-NAMESPACE $this .. $THAT .. [ PREVIOUS ]
.... ;

Hardly more hassle is
: doit ..... [ STRING-NAMESPACE ] $this .. $THAT .. [ PREVIOUS ]
.... ;

And more readable (unless you have used conflicting definitions here)
STRING-NAMESPACE
: doit ..... $this .. $THAT ..
.... ;
PREVIOUS

You are not into page-long definitions, are you?

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: FigForth vocabularies and immediacy

<4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:57c2:0:b0:400:9629:cfad with SMTP id w2-20020ac857c2000000b004009629cfadmr786238qta.13.1693158140998;
Sun, 27 Aug 2023 10:42:20 -0700 (PDT)
X-Received: by 2002:a17:902:ecd1:b0:1bd:ca21:c64 with SMTP id
a17-20020a170902ecd100b001bdca210c64mr8436119plh.6.1693158140757; Sun, 27 Aug
2023 10:42:20 -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: Sun, 27 Aug 2023 10:42:20 -0700 (PDT)
In-Reply-To: <nnd$05c9fd9b$02d455f5@e4904aac86821e73>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <uc6jpn$3a4h7$1@dont-email.me> <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>
<nnd$05c9fd9b$02d455f5@e4904aac86821e73>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: myronplichota@gmail.com (Myron Plichota)
Injection-Date: Sun, 27 Aug 2023 17:42:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1305
 by: Myron Plichota - Sun, 27 Aug 2023 17:42 UTC

> I can't understand why having immediate vocabularies is such a
> big deal.
You might want to work on that :)

Re: FigForth vocabularies and immediacy

<8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5985:0:b0:64a:24a4:3b9b with SMTP id ek5-20020ad45985000000b0064a24a43b9bmr720476qvb.13.1693160026606;
Sun, 27 Aug 2023 11:13:46 -0700 (PDT)
X-Received: by 2002:a05:6a00:1408:b0:68a:6d43:ddda with SMTP id
l8-20020a056a00140800b0068a6d43dddamr5316044pfu.3.1693160025998; Sun, 27 Aug
2023 11:13:45 -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: Sun, 27 Aug 2023 11:13:45 -0700 (PDT)
In-Reply-To: <4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <uc6jpn$3a4h7$1@dont-email.me> <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>
<nnd$05c9fd9b$02d455f5@e4904aac86821e73> <4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: myronplichota@gmail.com (Myron Plichota)
Injection-Date: Sun, 27 Aug 2023 18:13:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2013
 by: Myron Plichota - Sun, 27 Aug 2023 18:13 UTC

On Sunday, August 27, 2023 at 1:42:22 PM UTC-4, Myron Plichota wrote:
> > I can't understand why having immediate vocabularies is such a
> > big deal.
> You might want to work on that :)
A proven example:
\ Bugs18 assembler make script
\ by Myron Plichota myronplichota@gmail.com

Forth definitions marker -Bugs18
vocabulary Bugs18 immediate Bugs18 definitions
hex

s" target.map" included \ the target MCU attributes
s" Bugs18asm.fs" included \ the structured assembler
s" inherited-subs.map" included \ useful subroutines in the serial bootloader

The dictionary can be purged of the Bugs18 vocabulary by invoking -Bugs18 when it is deemed to be of no further use.

Re: FigForth vocabularies and immediacy

<uch1fp$1hgnf$1@dont-email.me>

  copy mid

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

  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 (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: FigForth vocabularies and immediacy
Date: Mon, 28 Aug 2023 12:40:57 +1000
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uch1fp$1hgnf$1@dont-email.me>
References: <uc6jpn$3a4h7$1@dont-email.me>
<df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>
<nnd$05c9fd9b$02d455f5@e4904aac86821e73>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 28 Aug 2023 02:40:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="939f3d064ae2b0560f6ec5c5210dc02a";
logging-data="1622767"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Xcdv2BFSq39yk/0OB5vg2"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:DOfQVnPZBVjA7mczi093YXAJsLM=
Content-Language: en-GB
In-Reply-To: <nnd$05c9fd9b$02d455f5@e4904aac86821e73>
 by: dxforth - Mon, 28 Aug 2023 02:40 UTC

On 27/08/2023 9:01 pm, albert wrote:
> In article <df78b666-ba63-4bba-a999-f38da675f471n@googlegroups.com>,
> Myron Plichota <myronplichota@gmail.com> wrote:
> <SNIP>
>>
>> I can also attest to the utility of immediate vocabularies in
>> implementing an assembler for the Intel MCS-48 MCU in days of yore.
>> E. g, the MOV instruction variants were handily solved by a MOV
>> vocabulary (e. g. MOV A,T, MOV A,R7, MOV A,#FF MOV A,@R0).
>
> I can't understand why having immediate vocabularies is such a
> big deal.
> ...

AFAICS immediacy comes in handy when conflicting words within a colon definition
must be referenced. The word that effects change of context can be a vocab name
or a word specifying a search order (whichever is applicable). Without immediacy
such words would need to be surrounded by [ ] .

Re: FigForth vocabularies and immediacy

<nnd$6a8d0052$6054062f@b6fbbbd7beb0d8ac>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uc6jpn$3a4h7$1@dont-email.me> <nnd$05c9fd9b$02d455f5@e4904aac86821e73> <4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com> <8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$6a8d0052$6054062f@b6fbbbd7beb0d8ac>
Organization: KPN B.V.
Date: Mon, 28 Aug 2023 11:12:29 +0200
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.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: 36
Injection-Date: Mon, 28 Aug 2023 11:12:29 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2314
 by: none - Mon, 28 Aug 2023 09:12 UTC

In article <8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com>,
Myron Plichota <myronplichota@gmail.com> wrote:
>On Sunday, August 27, 2023 at 1:42:22 PM UTC-4, Myron Plichota wrote:
>> > I can't understand why having immediate vocabularies is such a
>> > big deal.
>> You might want to work on that :)
>A proven example:
>\ Bugs18 assembler make script
>\ by Myron Plichota myronplichota@gmail.com
>
>Forth definitions marker -Bugs18
>vocabulary Bugs18 immediate Bugs18 definitions
>hex
>
>s" target.map" included \ the target MCU attributes
>s" Bugs18asm.fs" included \ the structured assembler
>s" inherited-subs.map" included \ useful subroutines in the serial bootloader
>
>The dictionary can be purged of the Bugs18 vocabulary by invoking -Bugs18 when it
>is deemed to be of no further use.

I misunderstood what I meant. The immediacy of vocabularies is not a big deal.
Of course wordlist/namespace/vocabulary is useful.
Not seeing the assembler words is useful. I go a step further.
E.g. if you load floating point in ciforth, you can load the assembler
in a separate memory area, and then remove them without a trace. It
would be annoying to have the assembler hanging around if you only
want floating point.

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: FigForth vocabularies and immediacy

<df3fb5d0-e851-40bf-95f0-8dc7a569c7cfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:255:b0:412:26be:4642 with SMTP id c21-20020a05622a025500b0041226be4642mr93378qtx.2.1693223805213;
Mon, 28 Aug 2023 04:56:45 -0700 (PDT)
X-Received: by 2002:a17:90a:e2d4:b0:25b:809a:c7a with SMTP id
fr20-20020a17090ae2d400b0025b809a0c7amr5481750pjb.3.1693223804734; Mon, 28
Aug 2023 04:56:44 -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: Mon, 28 Aug 2023 04:56:44 -0700 (PDT)
In-Reply-To: <nnd$6a8d0052$6054062f@b6fbbbd7beb0d8ac>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f0d:8909:4cf1:fe01:fe90:eaba;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f0d:8909:4cf1:fe01:fe90:eaba
References: <uc6jpn$3a4h7$1@dont-email.me> <nnd$05c9fd9b$02d455f5@e4904aac86821e73>
<4d5a59cf-f26d-4a07-9008-af6e49110ea0n@googlegroups.com> <8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com>
<nnd$6a8d0052$6054062f@b6fbbbd7beb0d8ac>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df3fb5d0-e851-40bf-95f0-8dc7a569c7cfn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
From: minforth@arcor.de (minforth)
Injection-Date: Mon, 28 Aug 2023 11:56:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2890
 by: minforth - Mon, 28 Aug 2023 11:56 UTC

none albert schrieb am Montag, 28. August 2023 um 11:12:32 UTC+2:
> In article <8f22d8e9-f6a9-47c2...@googlegroups.com>,
> Myron Plichota <myronp...@gmail.com> wrote:
> >On Sunday, August 27, 2023 at 1:42:22 PM UTC-4, Myron Plichota wrote:
> >> > I can't understand why having immediate vocabularies is such a
> >> > big deal.
> >> You might want to work on that :)
> >A proven example:
> >\ Bugs18 assembler make script
> >\ by Myron Plichota myronp...@gmail.com
> >
> >Forth definitions marker -Bugs18
> >vocabulary Bugs18 immediate Bugs18 definitions
> >hex
> >
> >s" target.map" included \ the target MCU attributes
> >s" Bugs18asm.fs" included \ the structured assembler
> >s" inherited-subs.map" included \ useful subroutines in the serial bootloader
> >
> >The dictionary can be purged of the Bugs18 vocabulary by invoking -Bugs18 when it
> >is deemed to be of no further use.
> I misunderstood what I meant. The immediacy of vocabularies is not a big deal.
> Of course wordlist/namespace/vocabulary is useful.
> Not seeing the assembler words is useful. I go a step further.
> E.g. if you load floating point in ciforth, you can load the assembler
> in a separate memory area, and then remove them without a trace. It
> would be annoying to have the assembler hanging around if you only
> want floating point.

To make it usable, ALSO and PREVIOUS would have to be immediate too, no?

Re: FigForth vocabularies and immediacy

<nnd$4e59a515$02cc8e17@6abb7dc7ddf99c99>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uc6jpn$3a4h7$1@dont-email.me> <8f22d8e9-f6a9-47c2-a47d-96ecc010a7c8n@googlegroups.com> <nnd$6a8d0052$6054062f@b6fbbbd7beb0d8ac> <df3fb5d0-e851-40bf-95f0-8dc7a569c7cfn@googlegroups.com>
Subject: Re: FigForth vocabularies and immediacy
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$4e59a515$02cc8e17@6abb7dc7ddf99c99>
Organization: KPN B.V.
Date: Mon, 28 Aug 2023 16:14:08 +0200
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.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: 46
Injection-Date: Mon, 28 Aug 2023 16:14:08 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 3023
 by: none - Mon, 28 Aug 2023 14:14 UTC

In article <df3fb5d0-e851-40bf-95f0-8dc7a569c7cfn@googlegroups.com>,
minforth <minforth@arcor.de> wrote:
>none albert schrieb am Montag, 28. August 2023 um 11:12:32 UTC+2:
>> In article <8f22d8e9-f6a9-47c2...@googlegroups.com>,
>> Myron Plichota <myronp...@gmail.com> wrote:
>> >On Sunday, August 27, 2023 at 1:42:22 PM UTC-4, Myron Plichota wrote:
>> >> > I can't understand why having immediate vocabularies is such a
>> >> > big deal.
>> >> You might want to work on that :)
>> >A proven example:
>> >\ Bugs18 assembler make script
>> >\ by Myron Plichota myronp...@gmail.com
>> >
>> >Forth definitions marker -Bugs18
>> >vocabulary Bugs18 immediate Bugs18 definitions
>> >hex
>> >
>> >s" target.map" included \ the target MCU attributes
>> >s" Bugs18asm.fs" included \ the structured assembler
>> >s" inherited-subs.map" included \ useful subroutines in the serial bootloader
>> >
>> >The dictionary can be purged of the Bugs18 vocabulary by invoking -Bugs18 when it
>> >is deemed to be of no further use.
>> I misunderstood what I meant. The immediacy of vocabularies is not a big deal.
>> Of course wordlist/namespace/vocabulary is useful.
>> Not seeing the assembler words is useful. I go a step further.
>> E.g. if you load floating point in ciforth, you can load the assembler
>> in a separate memory area, and then remove them without a trace. It
>> would be annoying to have the assembler hanging around if you only
>> want floating point.
>
>To make it usable, ALSO and PREVIOUS would have to be immediate too, no?
>

Don't go there. If you have a STRING-VOC vocabulary, with APPEND COUNT etc.
use STRING.APPEND STRING.COUNT etc. Less elegantly STRING. COUNT .
In ciforth with the PREFIX facility this is an easy fix.
: STRING-VOC. STRING NAME EVALUATE PREVIOUS ; PREFIX
(NAME is approximately CHECK-FOR-REFILL BL WORD )
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 -

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor