Looking for C preprocessing language parser with OCAML interface

View: New views
2 Messages — Rating Filter:   Alert me  

Looking for C preprocessing language parser with OCAML interface

by Yoonseok Ko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello everyone. I'm a graduate student majoring in program analysis.


I'm looking for a C preprocessing language parser with OCAML interface.

Our team researched some C parsers, and we want to control preprocessor's  
directives such as #ifdef, #if, #else, #endif, #include, and so on.

I couldn't find any parser for C preprocessing language because almost  
parser implementation in OCAML use conventional parser's preprocessor.

Is there any parser for the language with OCAML interface?


Thanks in advance for your help.

Best Regards

Yoonseok Ko


_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Re: Looking for C preprocessing language parser with OCAML interface

by Elnatan Reisner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 21, 2009, at 8:29 AM, Yoonseok Ko wrote:

> I'm looking for a C preprocessing language parser with OCAML  
> interface.

I was recently looking for such a tool myself, and I came across the  
link below mentioning Yacfe, from about a year ago. Unfortunately, it  
seems that the link provided there isn't working.
http://www.mail-archive.com/caml-list@.../msg01850.html

However, the project from which Yacfe was extracted, http://coccinelle.lip6.fr/ 
, is accessible. There might be something useful there.

-Elnatan

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs