Re: NEW ANS FORTH WORDS PROPOSAL

From: Jerry Avins <jya_at_ieee.org>
Date: Fri, 24 Nov 2000 13:51:29 -0500

Jabari Zakiya wrote:
>
> NEW ANS FORTH WORDS PROPOSAL
> Jabari Zakiya jzakiya_at_mail.com
> 3rdeye Technology, LLC
> --------------------------------
>
> Proposed Words to CORE wordset: +GROW -GROW GET PUT
  ...
>
> Compilation Behavior
> --------------------
> Each of these words will have a compile time behavior and a
> run time behavior similar to that for PICK and ROLL.
> When used inside a colon definition, the run time behavior
> code will be compiled if no literal value is compiled
> preceeding the word, such as in : FOO1 ROT GET ;
> If a literal preceeds these words within a colon defined
> word then the literal is compiled directly into the
> instruction by the compler, e.g. in : FOO2 ROT 3 GET ;
>
  ...

I haven't thought enough yet to comment on the worth of these ideas. One
issue that comes immediately (pun?) to mind is that these words get
their arguments either from the stack or from the source code, depending
on circumstance. This is an optimization issue, and needn't be part of
the definitions.

Jerry

--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Received on Fri Nov 24 2000 - 11:05:20 PST

Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.