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


Groups > comp.lang.forth > #12960

Re: :NONAME

Newsgroups comp.lang.forth
From Albert van der Horst <albert@spenarnc.xs4all.nl>
Subject Re: :NONAME
Date 2012-06-13 08:49 +0000
Message-ID <m5jsi2.p9j@spenarnc.xs4all.nl> (permalink)
Organization Dutch Forth Workshop
References <57b57e62-cd3c-40bf-88c5-733cb07c2e50@do4g2000vbb.googlegroups.com> <4fd5e1f0$0$6615$882e7ee2@usenet-news.net> <m5hckc.1ee@spenarnc.xs4all.nl> <97b9afa0-0873-4b69-90ce-7b57fb1336cc@p27g2000vbl.googlegroups.com>

Show all headers | View raw


In article <97b9afa0-0873-4b69-90ce-7b57fb1336cc@p27g2000vbl.googlegroups.com>,
BruceMcF  <agila61@netscape.net> wrote:
>On Jun 11, 9:09=A0pm, Albert van der Horst <alb...@spenarnc.xs4all.nl>
>wrote:
>> In article <4fd5e1f0$0$6615$882e7...@usenet-news.net>,
>> Josh Grams =A0<j...@qualdan.com> wrote:
>
>>> RECURSE just needs the address of the code, so if you separate that from
>>> LAST then you can get away without a dummy header.
>
>> This is not generally true. For indirect threaded code the code address
>> is docol (the inner interpreter) and there needs to be some pointer to
>> the threaded code too.
>
>this is reading "address of the code" overly literally ~ you need the
>address of the Forth code, whether that is pointing to machine
>language code, to a "code field" followed by the linked list, or etc.
>is obviously implementation dependent, but the general point stands.
>If you have HEAD and LASTXT then RECURSE can use LASTXT. CREATE or a
>factor of CREATE (eg HEADER) fills HEAD while a common factor of :
>and :NONAME (eg DEFINE,) fills LASTXT.
>
>Indeed, :NONAME can then be, if DEFINE, is ( ct: -- x=3Dcolon-sys ):
>
>: :NONAME ( ct: -- xt colon-sys ) DEFINE, LASTXT @ SWAP POSTPONE [ ;

You're right of course. :NONAME centres on the abstraction of
execution token. If you have an xt, that is the only thing you
ever need to EXECUTE. An xt represents the "address of code".

Groetjes Albert

--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

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


Thread

:NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-12 13:48 -0700
  Re: :NONAME Zbiggy <zbigniew2011REMOVE@gmail.REMOVE.com> - 2012-04-12 23:08 +0100
  Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-12 16:53 -0500
    Re: :NONAME The Beez <the.beez.speaks@gmail.com> - 2012-04-12 23:50 -0700
    Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 05:34 -0700
      Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-13 08:02 -0500
        Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 07:26 -0700
  Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-12 14:54 -0700
    Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-12 23:58 -0700
      Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-12 21:11 -1000
        Re: :NONAME Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-04-22 23:13 -0700
      Re: :NONAME Ian Osgood <iano@quirkster.com> - 2012-04-13 04:31 -0700
        Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-13 19:40 +0000
      Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 05:15 -0700
      Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-13 08:00 -0500
        Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 06:19 -0700
          Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 07:33 -0700
  Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-12 13:54 -1000
    Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-13 11:54 -0400
      Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 10:23 -0700
      Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 13:02 -0700
      Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 13:06 -0700
        Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 15:57 -0700
        Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-14 01:05 +0000
        Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-14 17:23 -0400
          Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-14 16:22 -0700
            Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-15 12:50 -0400
              Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-15 08:12 -1000
              Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-15 11:17 -0700
        Re: :NONAME Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-04-17 16:21 -0700
      Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-01 20:13 -0400
        Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-06-01 21:09 -0400
          Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-06-01 21:41 -0400
            Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-02 15:06 +0200
              Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-11 05:42 -0400
                Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-11 19:08 +0200
        Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-11 05:46 -0400
          Re: :NONAME Alex McDonald <blog@rivadpm.com> - 2012-06-11 03:46 -0700
          Re: :NONAME Josh Grams <josh@qualdan.com> - 2012-06-11 12:17 +0000
            Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-06-12 01:09 +0000
              Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-11 21:39 -0400
                Re: :NONAME Alex McDonald <blog@rivadpm.com> - 2012-06-12 02:08 -0700
                Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-12 23:20 -0400
                Re: :NONAME Alex McDonald <blog@rivadpm.com> - 2012-06-13 00:32 -0700
                Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-13 10:25 -0700
                Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-14 19:24 +0200
                Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-15 07:05 -0700
                Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-15 20:40 +0200
                Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-15 11:56 -0700
                Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-15 21:15 +0200
                Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-15 12:43 -0700
                Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-14 20:31 -0400
                Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-15 07:03 -0700
                Re: :NONAME "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-06-19 21:10 -0400
                Re: :NONAME Coos Haak <chforth@hccnet.nl> - 2012-06-15 20:45 +0200
              Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-06-12 16:00 -0700
                Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-06-13 08:49 +0000

csiph-web