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 Mac > FICL (forth) to...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 153 of 157
Post > Topic >>

FICL (forth) to Objective-C bridge

by Erik <groups@[EMAIL PROTECTED] > Dec 27, 2007 at 05:34 PM

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




 1 Posts in Topic:
FICL (forth) to Objective-C bridge
Erik <groups@[EMAIL PR  2007-12-27 17:34:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed May 14 21:35:49 CDT 2008.