programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: forth word dependencies

From: Jos'h Fuller <josh_at_dkp.com>
Date: Wed, 1 Feb 2006 10:17:19 -0500

Hi,

On Wed, Feb 01, 2006 at 10:07:17AM -0500, Dr. Roger Dube wrote:
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Is there a SwiftForth word that creates a dependency map of words below it?
>
> The idea here would be to create a map of a defined word, and then a list of
> the words that were used to define it, the words used to define them, etc.
> in an iterative fashion.

I'm a little out of the loop in Swift right now, but most full featured
Forth's have a word (or the equivalent therof) called "SEE", which will
decompile a target (as in "SEE MYWORD"). I'm certain that SF should have
such a thing and since you have the source, you could probably bend it
to your evil ends as you describe.

Be sure to have it stop once it finds the ultimate CODE words though...

Hope this helps,

Jos'h
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Feb 01 2006 - 07:18:06 PST

This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:20 PST