embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: SWOOP vs. SwiftX

From: Elizabeth D Rather <erather_at_forth.com>
Date: Thu, 14 Jul 2005 09:46:50 -0700

> -----Original Message-----
> From: swiftx-bounce_at_forth.com [mailto:swiftx-bounce_at_forth.com]On Behalf
> Of Ron Oliver
> Sent: Thursday, July 14, 2005 8:25 AM
> To: swiftx_at_forth.com
> Subject: [swiftx] Re: SWOOP vs. SwiftX
>
>
> On Tue, 12 Jul 2005, Harkness, Howard wrote:
>
> > it appears that vocabularies have changed a bit since my PolyForth
> > days,
>
> Just a little. :) The ANS wordlists are effectively an extended
> version of the polyFORTH-style vocabularies. The usage is more
> verbose, but it ends up doing pretty much the same thing.

They achieve the same thing, but the mechanism is somewhat different and
more flexible. There's an overview in the Forth Programmer's Handbook
(included as a pdf with all SwiftX's), Section 4.6.

> > and it isn't clear to me (yet) how they work wrt SwiftX (I hope to
> > get over that soon...).
>
> SwiftX doesn't support multiple target vocabularies in the way
> you're looking for. TARGET is where target definitions go.
> TARGET-SHELL is used if you have a resident interpreter on your
> target system. But that's all you get. This isn't trivial to
> change...I've looked at doing it before, and it would involve a lot
> of low-level modifications to the cross-compiler.
>
> (Actually, TARGET and TARGET-SHELL aren't the vocabularies proper;
> they do other needed compiler setup as well.)

SwiftX employs a sort of meta-vocabulary called "scope" that specifies a
search order and various other things. SwiftX scopes are described in the
SwiftX Reference Manual (another pdf). This is an important concept to
master if you're working with SwiftX.

Cheers,
Elizabeth

============================================
Elizabeth D. Rather
FORTH Inc. +1 310-491-3356
5155 W. Rosecrans Ave. Fax: +1 310-978-9454
Suite 1018 (US & Canada) 800-55-FORTH
Hawthorne, CA 90250
http://www.forth.com

"Forth-based products and Services for real-time applications since 1973."
============================================

----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Jul 14 2005 - 09:44:54 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:50 PST