Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > OOP-forth ?
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3972 of 4050
Post > Topic >>

OOP-forth ?

by problems@[EMAIL PROTECTED] Mar 25, 2008 at 09:40 PM

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?

Thanks for any feedback,

==crg




 3 Posts in Topic:
OOP-forth ?
problems@[EMAIL PROTECTED  2008-03-25 21:40:20 
Re: OOP-forth ?
Elizabeth D Rather <er  2008-03-26 01:20:54 
Re: OOP-forth ?
anton@[EMAIL PROTECTED]   2008-03-26 15:16:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 3:28:52 CDT 2008.