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


Groups > comp.lang.forth > #17911

Re: DTC

Newsgroups comp.lang.forth
Date 2012-12-06 20:16 -0800
References <ad599bc5-3e28-4fe0-a2d5-dc9b9dfb2255@eo2g2000vbb.googlegroups.com> <Y7-dna8SH_nwdyjNnZ2dnUVZ7sWdnZ2d@supernews.com> <41b8dd36-4a90-4a2a-b4e6-a738eac630f2@f17g2000vbz.googlegroups.com> <25-dnfvDKpqEaCjNnZ2dnUVZ8mGdnZ2d@supernews.com> <50b61779$0$3184$e4fe514c@dreader36.news.xs4all.nl>
Message-ID <2777cecb-e181-4a7a-a0bf-b007cd8d462b@googlegroups.com> (permalink)
Subject Re: DTC
From "Clyde W. Phillips Jr." <cwpjr02@gmail.com>

Show all headers | View raw


On Wednesday, November 28, 2012 7:54:01 AM UTC-6, Albert van der Horst wrote:
> In article <25-dnfvDKpqEaCjNnZ2dnUVZ8mGdnZ2d@supernews.com>,
> 
> Andrew Haley  <andrew29@littlepinkcloud.invalid> wrote:
> 
> >Mark Wills <forthfreak@gmail.com> wrote:
> 
> >> On Nov 28, 10:41?am, Andrew Haley <andre...@littlepinkcloud.invalid>
> 
> >> wrote:
> 
> >>> Mark Wills <forthfr...@gmail.com> wrote:
> 
> >>> > On Nov 28, 1:42?am, Hugh Aguilar <hughaguila...@yahoo.com> wrote:
> 
> >>>
> 
> >>> >> With ITC it is possible to change how a word is interpreted by
> 
> >>> >> changing the pointer at the cfa. With DTC, by comparison, you don't
> 
> >>> >> have a pointer to the code that interprets the word, but rather you
> 
> >>> >> have the code itself pasted in there.
> 
> >>>
> 
> >>> > I don't think that's correct, Hugh.
> 
> >>>
> 
> >>> I'm sure it is.
> 
> >>
> 
> >> Eh?
> 
> >
> 
> >I don't understand the problem you're having with my reply.  With ITC
> 
> >it is possible to change how a word is interpreted by changing the
> 
> >pointer at the cfa.  This is simply true, there is no doubt about it,
> 
> >and your comment is incorrect.
> 
> 
> 
> This may be a good opportunity to show how nice ITC is in this
> 
> respect.
> 
> 
> 
> The possibility to "patch" an existing word is used in ciforth all
> 
> over the place.
> 
> Technically it patches the dfa not the cfa as it replaces a pointer
> 
> to high level code. So no change to assembler code is needed.
> 
> 
> 
> 1. You can turn the dictionary (FIND) into a case insensitive one.
> 
> 2. you can print the stack after each execution, or change the prompt
> 
> 3. You can turn a word into a postfix word for once, then it flips
> 
>   back.
> 
> 4. It is used for turnkeys, by patching into ABORT
> 
> 5. ?ERROR is patched to allow better error recovery
> 
> 6. Revectoring I/O by patching TYPE. (Intentionally all output is via TYPE)
> 
> 7. ALIAS works by copying three words, works for low level too.
> 
> 8. Run time buffers, that don't take up space in the executable (dfa)
> 
> 9. Changing in CONSTANT afterwards.
> 
> 
> 
> >
> 
> >Andrew.
> 
> -- 
> 
> 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

I Like your points here. In ITC is it as simple as the cfa either points to inline asm code or another address pointing to system standards such as DOCOL's asm code, other primitives, and such.

Clyde

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


Thread

DTC Mark Wills <forthfreak@gmail.com> - 2012-11-27 08:01 -0800
  Re: DTC Paul Rubin <no.email@nospam.invalid> - 2012-11-27 08:55 -0800
    Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-27 09:01 -0800
  Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-27 17:42 -0800
    Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-27 23:50 -0800
      Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 04:41 -0600
        Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-28 02:48 -0800
          Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 05:27 -0600
            Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-28 03:51 -0800
              Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-28 21:56 -0800
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-29 01:26 -0800
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-29 22:34 -0800
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-30 01:42 -0800
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-30 13:18 -0800
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-01 01:42 -0800
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-12-03 15:25 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-03 16:18 -0800
                Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-03 21:20 -0500
                Re: DTC "Elizabeth D. Rather" <erather@forth.com> - 2012-12-03 17:29 -1000
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-04 00:12 -0800
                Re: DTC Paul Rubin <no.email@nospam.invalid> - 2012-12-05 11:35 -0800
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-12-04 20:17 -0800
                Re: DTC Ron Aaron <rambamist@gmail.com> - 2012-12-05 08:31 +0200
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-04 23:48 -0800
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-04 23:53 -0800
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-12-05 12:13 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-05 15:26 -0800
                Re: DTC Ron Aaron <rambamist@gmail.com> - 2012-12-06 06:32 +0200
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 01:07 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-06 04:23 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-06 15:49 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 07:42 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-06 08:30 -0800
                Re: DTC Paul Rubin <no.email@nospam.invalid> - 2012-12-06 09:45 -0800
                Re: DTC albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-12-06 21:41 +0000
                Re: DTC "A. K." <akk@nospam.org> - 2012-12-06 23:15 +0100
                Re: DTC albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-12-08 01:27 +0000
                Re: DTC "A. K." <akk@nospam.org> - 2012-12-08 11:19 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 03:55 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-08 13:44 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 06:05 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-08 18:35 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 11:20 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-09 01:01 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 06:10 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-08 18:57 +0100
                Re: DTC "A. K." <akk@nospam.org> - 2012-12-08 19:46 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 11:23 -0800
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-08 13:37 +0100
                Re: DTC "A. K." <akk@nospam.org> - 2012-12-08 14:41 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-08 06:15 -0800
                Re: DTC "A. K." <akk@nospam.org> - 2012-12-08 17:07 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 14:16 -0800
                Re: DTC Brad Eckert <hwfwguy@gmail.com> - 2012-12-07 09:00 -0800
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 14:21 -0800
                Re: DTC "Elizabeth D. Rather" <erather@forth.com> - 2012-12-06 08:01 -1000
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 14:18 -0800
                Re: DTC "Elizabeth D. Rather" <erather@forth.com> - 2012-12-06 13:48 -1000
                Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-06 19:03 -0500
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-07 02:59 -0800
                Re: DTC albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-12-06 13:13 +0000
                Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-12-05 20:39 -0500
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-06 15:46 +0100
                Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-12-06 07:47 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-06 08:36 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-12-05 04:03 -0800
                Re: DTC "Clyde W. Phillips Jr." <cwpjr02@gmail.com> - 2012-12-06 20:30 -0800
                Re: DTC David Thompson <dave.thompson2@verizon.net> - 2012-12-11 23:52 -0500
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-12-12 10:59 -0800
                Re: DTC David Thompson <dave.thompson2@verizon.net> - 2012-12-31 02:43 -0500
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2013-01-02 00:44 -0800
            Re: DTC albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-11-28 13:54 +0000
              Re: DTC "Clyde W. Phillips Jr." <cwpjr02@gmail.com> - 2012-12-06 20:16 -0800
    Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-28 06:58 -0500
      Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-28 04:50 -0800
        Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 07:08 -0600
          Re: DTC Mark Wills <forthfreak@gmail.com> - 2012-11-28 06:02 -0800
            Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 08:23 -0600
          Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 14:18 +0000
            Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 08:32 -0600
              Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 15:00 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 09:18 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 16:36 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 11:02 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 17:13 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 12:03 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 18:12 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-28 12:32 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-29 14:30 +0000
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-11-29 18:05 +0100
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-11-29 11:19 -0800
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-30 03:14 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-30 14:12 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-30 10:32 -0600
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-30 16:40 +0000
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-12-01 15:34 +0000
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-01 21:23 +0100
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-12-03 16:28 +0000
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-03 18:44 +0100
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-12-03 04:50 -0600
                Re: DTC Bernd Paysan <bernd.paysan@gmx.de> - 2012-12-03 16:48 +0100
                Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-12-03 15:59 +0000
                Re: DTC albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-11-30 15:34 +0000
                Re: DTC Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-30 10:36 -0600
                Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-30 12:47 -0800
                Re: DTC Alex McDonald <blog@rivadpm.com> - 2012-11-28 11:29 -0800
        Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-29 04:15 -0500
          Re: DTC "Elizabeth D. Rather" <erather@forth.com> - 2012-11-29 08:52 -1000
      Re: DTC Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-11-28 22:25 -0800
        Re: DTC "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-29 04:12 -0500
  Re: DTC humptydumpty <ouatubi@gmail.com> - 2012-11-28 02:04 -0800
  Re: DTC anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-28 14:21 +0000

csiph-web