Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #39532

Re: FORGET for CamelForth (Z80)?

From "HAA" <someone@microsoft.com>
Newsgroups comp.lang.forth
Subject Re: FORGET for CamelForth (Z80)?
Date 2015-06-03 13:20 +1000
Organization Aioe.org NNTP Server
Message-ID <mklroa$kcl$1@speranza.aioe.org> (permalink)
References <ct38jvF6436U1@mid.individual.net> <sq0bx.30459$Ik1.8952@fx12.iad>

Show all headers | View raw


Bob wrote:
> ...
> Warning, don't forget stuff that will cause a problem.  If you
> create another vocabulary and delete some of its words then the
> unforgotten vocabulary head points to deleted stuff that will
> soon be written over.

Yes.  This occurs in Fig-Forth.  A fix was published in FD which
involved traversing all vocabs.

Simple systems like CamelForth & Eforth usually don't need
vocabs - unless perhaps you want a resident assembler and
names clash.

> If you have a vectoring word that has been pointed
> to forgotten code it will soon fail.  Failures will happen at
> some time in the future, far from the cause, generating
> confusion.

It's why ANS introduced MARKER.  FORGET can be likened
to a sling-shot whereas MARKER is a cannon.


Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

FORGET for CamelForth (Z80)? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2015-06-01 14:30 +0000
  Re: FORGET for CamelForth (Z80)? Bob <bob@none.com> - 2015-06-01 13:12 -0400
    Re: FORGET for CamelForth (Z80)? "Elizabeth D. Rather" <erather@forth.com> - 2015-06-01 13:21 -1000
    Re: FORGET for CamelForth (Z80)? "HAA" <someone@microsoft.com> - 2015-06-03 13:20 +1000
  Re: FORGET for CamelForth (Z80)? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-06-01 18:43 +0000
    Re: FORGET for CamelForth (Z80)? Coos Haak <chforth@hccnet.nl> - 2015-06-01 22:10 +0200
      Re: FORGET for CamelForth (Z80)? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-06-01 20:43 +0000
        Re: FORGET for CamelForth (Z80)? Coos Haak <chforth@hccnet.nl> - 2015-06-01 23:50 +0200
      Re: FORGET for CamelForth (Z80)? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2015-06-02 10:36 +0000

csiph-web