Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!dewey.soe.berkeley.edu!oster
From: oster@dewey.soe.berkeley.edu (David Phillip Oster)
Newsgroups: comp.lang.forth
Subject: Re: Hello?
Message-ID: <19755@ucbvax.BERKELEY.EDU>
Date: Fri, 17-Jul-87 17:53:05 EDT
Article-I.D.: ucbvax.19755
Posted: Fri Jul 17 17:53:05 1987
Date-Received: Sat, 18-Jul-87 17:11:18 EDT
References: 
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster)
Organization: School of Education, UC-Berkeley
Lines: 14

In article  lord+@andrew.cmu.edu (Tom Lord) writes:
>3) Does there exist an object oriented forth or forth extension?
I have previously posted to this group a record sturcture package for
forth. If you store forth words in fields of a a record, you can
easily build a dispatcher that does a DUP .method_foo @ EXECUTE this
is equivalent to calling the foo method of the object on the top of
stack and passing it itself as an argument. Inheritance is equally
easy to do. Type checking, and compile time type checking, are also
possible, but more difficult.

The macintosh product NEON already does a good deal of this.
--- David Phillip Oster            --My Good News: "I'm a perfectionist."
Arpa: oster@dewey.soe.berkeley.edu --My Bad News: "I don't charge by the hour."
Uucp: {seismo,decvax,...}!ucbvax!oster%dewey.soe.berkeley.edu