problems@[EMAIL PROTECTED]
writes:
>Some time back I looked at ficl, but it seems to be incomplete
>and married to Mac, and I need a linux system version.
>
>Then I saw this:-
>"Mini-OOF is (this is mini-oof.fs from gforth 0.6.2):
>...
>: method ( m v "name" -- m' v ) Create over , swap cell+ swap
>...
>: class ( class -- class methods vars ) dup 2@[EMAIL PROTECTED]
;
>...
>: new ( class -- o ) here over @[EMAIL PROTECTED]
allot swap over ! ;
>Create object 1 cells , 2 cells , ...",
> which is using OOP-jargon.
>
>I KNOW that gforth is mature and good as I've tested ver *6*
>
>Is a version of gforth, or some other forth recommended to
>experiment with OOP concepts?
Actually, mini-oof.fs and objects.fs are written in standard Forth,
and a standard implementation of oof.fs is available, too; there are
also standard implementations of some other object-oriented Forth
extensions; for such OO extensions, you can use them on any standard
Forth, no need to restrict yourself to Gforth.
Of course, Gforth is the Forth system I recommend anyway.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2008:
http://www.complang.tuwien.ac.at/anton/euroforth/ef08.html


|