[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-09-06 (20:56) |
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 -- http://wagerlabs.com