#19 ObjC Support

open
None
5
2003-03-29
2003-02-01
No

How difficult would an obj-C parser be? Obj-C is an
object-oriented extension of C, but is rather different
from C++ in the way it handles objects (Apple uses it
in its MacOS X API, Cocoa). Specs are at:

http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/index.html

Basically, the main addition would be support of
ObjC-style function declarations/definitions, which
look like:

- (void)fooWithArgument:(int)first_argument
andArgument:(float)second_argument;

(which declares a function fooWithArgument:andArgument:
whose parameters are first_argument and second_argument).

I had a quick look at c.c to see how things are laid
out, and my guess is that supporting that function
syntax would require a non-trivial amount of work. I'd
love to be proved wrong, though :-)

Discussion

  • Darren Hiebert

    Darren Hiebert - 2003-03-29
    • assigned_to: nobody --> dhiebert
     
  • Gerd Knops

    Gerd Knops - 2003-05-28

    Logged In: YES
    user_id=561513

    I'd love to see this as well.

     
  • Andreas M.

    Andreas M. - 2010-03-24

    Me too.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks