Page 1 of 1

Objective-C back-end

PostPosted: Fri May 22, 2009 5:03 pm
by Charles
I have stubbed out a back-end for Objective-C in the repository. Also known as "ObjC" and "objc". Having Cobra run on objc would enable the development of native Mac OS X and iPhone applications. Also, there is the GNUstep platform which is based on objc.

I'm committed to completing the JVM back-end first, but I stubbed this out in case anyone wants to work on it in parallel.

The following works except there is no real code generation:
Code: Select all
cobra -c -v -back-end:objc hello.cobra

For hints on how to implement a back-end, see the code in <workspace>/Source/BackEndJvm and .../BackEndClr

If you have questions, ask.