Hi all,
I thought I'd let you know about a FICL (ficl.sourceforge.net) /
Objective-C bridge I worked on a while back. I dubbed it
"OspreyForth" because I wanted it to target OpenStep-compatible
systems such as Mac OS X and GNUstep. Unfortunately, I found out
later that the gcc toolset uses a slightly different API for the
Objective-C runtime, and thus it would take a bit of extra work to get
things ready for a gcc-based OpenStep system. Currently it targets
Mac OS X.
If you're interested, you can download it here:
http://www.customvisualdesigns.com/Downloads/ospreyforth.tgz.
I finished it while using Panther, and (if my memory is right), some
nominal changes were made for Tiger. I haven't worked on it since,
and the code is VERY ugly. It's not a production ready system. I'm
not a programmer per se, but a graphic designer with some programming
interest, so you're not going to get a slick set of code. I'm just
letting everyone know it's out there in case someone finds it
interesting or useful.
Some notes on OO-programming:
FICL (the main engine) has its own object system, but I don't use it
since the I'm attaching it to the Objective-C runtime. This means
that there is an object system, but it's a sort of bastardized Forth/
ObjC hybrid. It's possible to define classes, and call objects in
frameworks and such, although none of this was extensively tested. A
small demo app should be in the package.
Erik


|