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


Groups > comp.lang.forth > #19206

Re: Matrices

From Ron Aaron <rambamist@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Matrices
Date 2013-01-28 08:50 +0200
Organization A noiseless patient Spider
Message-ID <ke574i$ec0$1@dont-email.me> (permalink)
References <09181308028434@frunobulax.edu>

Show all headers | View raw


On 01/27/2013 10:17 PM, Marcel Hendrix wrote:
> I have encountered a problem for which I don't immediately
> see a solution (maybe it won't need one in the Forth sense ;)
..
>
> Problems: How to detect code is run for the first time? How to detect
> that previously compiled code is still valid (no reallocate been done)?

The way I would do it would be to make the A* a deferred word, whose 
initial value would set things up.  At the end, it would set A* to point 
at the 'final' version.

Determining that the compiled code hasn't changed could be done by 
having the accessor word !s (or whatever) set a flag (or, again, set A* 
to point to the set-things-up version).

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


Thread

Matrices mhx@iae.nl (Marcel Hendrix) - 2013-01-27 22:17 +0200
  Re: Matrices Ron Aaron <rambamist@gmail.com> - 2013-01-28 08:50 +0200
  Re: Matrices Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-01-28 03:11 -0600
    Re: Matrices m.a.m.hendrix@tue.nl - 2013-01-28 01:46 -0800
      Re: Matrices mhx@iae.nl (Marcel Hendrix) - 2013-02-03 12:48 +0200
        Re: Matrices "A. K." <akk@nospam.org> - 2013-02-03 13:27 +0100
        Re: Offline compilation of Forth mhx@iae.nl (Marcel Hendrix) - 2013-02-03 21:17 +0200
  Re: Matrices stephenXXX@mpeforth.com (Stephen Pelc) - 2013-01-28 10:39 +0000
    Re: Matrices m.a.m.hendrix@tue.nl - 2013-01-28 03:33 -0800
  Re: Matrices albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-01-28 14:31 +0000
  Re: Matrices Alex McDonald <blog@rivadpm.com> - 2013-01-28 07:48 -0800
  Re: Matrices Hugh Aguilar <hughaguilar96@yahoo.com> - 2013-01-28 18:06 -0800
  Re: Matrices anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-01-29 09:49 +0000
    Re: Matrices Mark Wills <forthfreak@gmail.com> - 2013-01-29 04:08 -0800
      Re: Matrices m.a.m.hendrix@tue.nl - 2013-01-29 08:22 -0800

csiph-web