Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Best C parser to extend for Objective-C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Best C parser to extend for Objective-C
I made good progress recently with my Cocoa bridge for Lisp and I'm  
emboldened to start on the OCaml version. I would like to use a  
parser for header files to build wrappers for Cocoa classes by first  
building up the OCaml AST and then pretty-printing it.

I understand that there are ForkLift and CIL but it seems to me that  
FL is more for generating FFI wrappers whereas I just need a parser.  
I'm not familiar with CIL.

I want to grab a parser, add the Objective-C grammar and run the  
result over Cocoa headers. What would be the best parser code base to  
start with?

	Thanks, Joel