[comp.lang.forth] General questions

kma@rhi.hi.is (Kurt M Alonso) (12/16/89)

	I'm a newcomer to forth and to this newsgroup, so the question
	I pose here has possibly trivial answer. Anyway, here it comes:

	It seems to me that by the characteristics of forth, it should be
	a suitable language for implementing interpreters for languages
	that are difficult to compile without restricting their operativeness.
	The languages I'm thinking of are Prolog, Lisp or fully operative
	object-oriented languages. Eventually, a good way (if not the best)
	of implementing such languages is by means of threaded code and
	dictionnaries, so at first sight, forth should be a good 
	implementation language. But the litterature doesn't mention 
	such possibility, so I wonder if I'm wrong. Could anybody tell me 
	if any work has been done in this field?


	Just one more question. Could anybody tell me where I can get
	a PD forth implementation for the 80x86 family ?

-- 
------------------------------------------------------------------------------
Kurt M. Alonso                 University of Iceland, Reykjavik
Internet: kma@rhi.hi.is        UUCP: ..!mcvax!hafro!rhi!kma

keith@curry.uchicago.edu (Keith Waclena) (12/18/89)

In article <1430@krafla.rhi.hi.is>, kma@rhi (Kurt M Alonso) writes:
>	It seems to me that by the characteristics of forth, it should be
>	a suitable language for implementing interpreters for languages
>	that are difficult to compile without restricting their operativeness.
>	The languages I'm thinking of are Prolog, Lisp or fully operative
>	object-oriented languages. 
>	                         But the litterature doesn't mention 
>	such possibility, so I wonder if I'm wrong. Could anybody tell me 
>	if any work has been done in this field?
>

There has been a lot of this sort of thing in the Forth literature
(though it doesn't seem to make it very far into the general CS
literature).  Here are some citations; these citations aren't
necessarily recommendations unless explicitly indicated.

%A L. L. Odette
%D 1987
%T Compiling Prolog to Forth
%J Journal of Forth Application and Research
%V 4
%N 4
%P 487-533

%A Dick Pountain
%D 1986
%T Object Oriented Extensions to Forth
%J The Journal of Forth Application and Research
%V 3
%N 3
%P 51-73
%X Includes source code.
%X Describes a true object-oriented extension to Forth (including
subclass inheritence). [KDW]

%A Dick Pountain
%D 1987
%T Object-Oriented Forth: Implementation of Data Structures
%I Academic Press
%C London
%X A more tutorial version of Pountain 1986.  Quite good. [KDW]

%A Christopher J. Matheus
%D 1986
%T The Internals of FORPS: A FORth-based Production System
%J The Journal of Forth Application and Research
%V 4
%N 1
%P 7-27
%X Describes an OPS5-like production system for Forth. [KDW]

While I don't have the reference handy, there has been at least one
article in the FORML proceedings in the last few years on Lisp in
Forth. 

These are just a few examples.  The two major places to look for
articles of this type are the *Journal of Forth Application and
Research* and the proceedings of the FORML conferences.  Both are
refereed.  *Forth Dimensions*, the journal of the Forth Interest
Group, is another source, although I don't think it's refereed.

>
>	Just one more question. Could anybody tell me where I can get
>	a PD forth implementation for the 80x86 family ?
>

By mail from the Forth Interest Group (at cost), or by anonymous FTP
from wsmr-simtel20.army.mil (cd to pd1:<msdos.forth>, set tenex mode,
and get either f-pc (a full-featured dtc implemetation) or f83 (a
simpler itc implementation, excellent for learning purposes).

						Keith

--
Keith WACLENA                             keith@curry.uchicago.edu
CILS / TIRA / U of Chicago                keith%curry@uchimvs1.bitnet
1100 E.57th.St Chi IL 60637 USA           ...!uunet!curry.uchicago.edu!keith