Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: Best C parser to extend for Objective-C
Date: Thu, 6 Sep 2007 21:56:16 +0100	[thread overview]
Message-ID: <1B6F3078-704B-4C4A-8BE1-B14705E2B256@gmail.com> (raw)

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






             reply	other threads:[~2007-09-06 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 20:56 Joel Reymont [this message]
2007-09-06 23:21 ` Joel Reymont
2007-09-07  2:47   ` [Caml-list] " skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B6F3078-704B-4C4A-8BE1-B14705E2B256@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox